[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] munjeni:
I'm unable to find that in bare disassembly, but here is whole func

sub_16304 ; CODE XREF: sub_16518+20↓p
ROM:0000000000016304
ROM:0000000000016304 var_10 = -0x10
ROM:0000000000016304 var_s0 = 0
ROM:0000000000016304
ROM:0000000000016304 STR X19, [SP,#-0x10+var_10]!
ROM:0000000000016308 STP X29, X30, [SP,#0x10+var_s0]
ROM:000000000001630C ADD X29, SP, #0x10
ROM:0000000000016310 MOV X19, X0
ROM:0000000000016314 CBZ X19, loc_16424
ROM:0000000000016318 LDR X8, [X19,#0x420]
ROM:000000000001631C CBZ X8, loc_16424
ROM:0000000000016320 LDR W6, [X19,#4]
ROM:0000000000016324 CMP W6, #1
ROM:0000000000016328 B.NE loc_1644C
ROM:000000000001632C LDR W6, [X19,#0xC]
ROM:0000000000016330 CMP W6, #0x10,LSL#12
ROM:0000000000016334 B.NE loc_16464
ROM:0000000000016338 LDR W9, [X19,#0x10]
ROM:000000000001633C CBZ W9, loc_16390
ROM:0000000000016340 MOV W6, WZR
ROM:0000000000016344 ADD X10, X19, #0x18
ROM:0000000000016348
ROM:0000000000016348 loc_16348 ; CODE XREF: sub_16304+88↓j
ROM:0000000000016348 LDUR W7, [X10,#-4]
ROM:000000000001634C CMP W7, #0x40
ROM:0000000000016350 B.CS loc_16498
ROM:0000000000016354 LDR X11, [X8,#0x10]
ROM:0000000000016358 LDR X7, [X10]
ROM:000000000001635C CMP X11, X7
ROM:0000000000016360 B.CC loc_164B0
ROM:0000000000016364 LDR X7, [X10,#0x10]
ROM:0000000000016368 TST X7, #3
ROM:000000000001636C B.EQ loc_164C8
ROM:0000000000016370 LDR W7, [X10,#0x18]
ROM:0000000000016374 SUB W11, W7, #1
ROM:0000000000016378 CMP W11, #3
ROM:000000000001637C B.CS loc_164F0
ROM:0000000000016380 ADD W6, W6, #1
ROM:0000000000016384 CMP W6, W9
ROM:0000000000016388 ADD X10, X10, #0x20
ROM:000000000001638C B.CC loc_16348
ROM:0000000000016390
ROM:0000000000016390 loc_16390 ; CODE XREF: sub_16304+38↑j
ROM:0000000000016390 LDR X8, [X19,#0x418]
ROM:0000000000016394 MOV W1, #2
ROM:0000000000016398 MOV X0, X19
ROM:000000000001639C BLR X8
ROM:00000000000163A0 LDR X8, [X19,#0x420]
ROM:00000000000163A4 LDR X8, [X8,#0x10]
ROM:00000000000163A8 CMP X8, X0
ROM:00000000000163AC B.CC loc_16488
ROM:00000000000163B0 LDR X8, [X19,#0x418]
ROM:00000000000163B4 MOV W1, #4
ROM:00000000000163B8 MOV X0, X19
ROM:00000000000163BC BLR X8
ROM:00000000000163C0 LDR X8, [X19,#0x420]
ROM:00000000000163C4 LDR X8, [X8,#0x10]
ROM:00000000000163C8 CMP X8, X0
ROM:00000000000163CC B.CC loc_16488
ROM:00000000000163D0 LDR X8, [X19,#0x418]
ROM:00000000000163D4 MOV W1, #5
ROM:00000000000163D8 MOV X0, X19
ROM:00000000000163DC BLR X8
ROM:00000000000163E0 LDR X8, [X19,#0x420]
ROM:00000000000163E4 LDR X9, [X8,#0x10]
ROM:00000000000163E8 CMP X9, X0
ROM:00000000000163EC B.CC loc_16488
ROM:00000000000163F0 LDR W9, [X19]
ROM:00000000000163F4 LDR X0, [X8,#8]
ROM:00000000000163F8 SUB W8, W9, #4
ROM:00000000000163FC LDRH W8, [X0,W8,UXTW]
ROM:0000000000016400 CBNZ W8, loc_16488
ROM:0000000000016404 SUB W1, W9, #2
ROM:0000000000016408 LDRH W19, [X0,W1,UXTW]
ROM:000000000001640C BL sub_15288
ROM:0000000000016410 AND W8, W0, #0xFFFF
ROM:0000000000016414 CMP W8, W19
ROM:0000000000016418 B.NE loc_16488
ROM:000000000001641C MOV W0, #1
ROM:0000000000016420 B loc_1648C
ROM:0000000000016424 ; ---------------------------------------------------------------------------
ROM:0000000000016424
ROM:0000000000016424 loc_16424 ; CODE XREF: sub_16304+10↑j
ROM:0000000000016424 ; sub_16304+18↑j
ROM:0000000000016424 ADRP X4, #aError@PAGE ; "ERROR"
ROM:0000000000016428 ADRP X5, #aPackageInfoIsN@PAGE ; "package info is not initialised\n"
ROM:000000000001642C ADD X4, X4, #aError@PAGEOFF ; "ERROR"
ROM:0000000000016430 ADD X5, X5, #aPackageInfoIsN@PAGEOFF ; "package info is not initialised\n"
ROM:0000000000016434 MOV W2, #0xE2
ROM:0000000000016438 MOV W0, WZR
ROM:000000000001643C MOV X1, XZR
ROM:0000000000016440 MOV X3, XZR
ROM:0000000000016444 BL LOG
ROM:0000000000016448 B loc_16488
ROM:000000000001644C ; ---------------------------------------------------------------------------
ROM:000000000001644C
ROM:000000000001644C loc_1644C ; CODE XREF: sub_16304+24↑j
ROM:000000000001644C ADRP X4, #aError@PAGE ; "ERROR"
ROM:0000000000016450 ADRP X5, #aPackageHeaderT@PAGE ; "package header type is unexpected (0x%x"...
ROM:0000000000016454 ADD X4, X4, #aError@PAGEOFF ; "ERROR"
ROM:0000000000016458 ADD X5, X5, #aPackageHeaderT@PAGEOFF ; "package header type is unexpected (0x%x"...
ROM:000000000001645C MOV W2, #0xED
ROM:0000000000016460 B loc_16478
ROM:0000000000016464 ; ---------------------------------------------------------------------------
ROM:0000000000016464
ROM:0000000000016464 loc_16464 ; CODE XREF: sub_16304+30↑j
ROM:0000000000016464 ADRP X4, #aError@PAGE ; "ERROR"
ROM:0000000000016468 ADRP X5, #aRedbendSectorS@PAGE ; "RedBend sector size is unexpected (0x%x"...
ROM:000000000001646C ADD X4, X4, #aError@PAGEOFF ; "ERROR"
ROM:0000000000016470 ADD X5, X5, #aRedbendSectorS@PAGEOFF ; "RedBend sector size is unexpected (0x%x"...
ROM:0000000000016474 MOV W2, #0xF5
ROM:0000000000016478
ROM:0000000000016478 loc_16478 ; CODE XREF: sub_16304+15C↑j
ROM:0000000000016478 MOV W0, WZR
ROM:000000000001647C MOV X1, XZR
ROM:0000000000016480 MOV X3, XZR
ROM:0000000000016484 BL LOG
ROM:0000000000016488
ROM:0000000000016488 loc_16488 ; CODE XREF: sub_16304+A8↑j
ROM:0000000000016488 ; sub_16304+C8↑j ...
ROM:0000000000016488 MOV W0, WZR
ROM:000000000001648C
ROM:000000000001648C loc_1648C ; CODE XREF: sub_16304+11C↑j
ROM:000000000001648C LDP X29, X30, [SP,#0x10+var_s0]
ROM:0000000000016490 LDR X19, [SP+0x10+var_10],#0x20
ROM:0000000000016494 RET
ROM:0000000000016498 ; ---------------------------------------------------------------------------
ROM:0000000000016498
ROM:0000000000016498 loc_16498 ; CODE XREF: sub_16304+4C↑j
ROM:0000000000016498 ADRP X4, #aError@PAGE ; "ERROR"
ROM:000000000001649C ADRP X5, #aIncrementsDTyp@PAGE ; "increments[%d] type is unexpected (0x%x"...
ROM:00000000000164A0 ADD X4, X4, #aError@PAGEOFF ; "ERROR"
ROM:00000000000164A4 ADD X5, X5, #aIncrementsDTyp@PAGEOFF ; "increments[%d] type is unexpected (0x%x"...
ROM:00000000000164A8 MOV W2, #0xFE
ROM:00000000000164AC B loc_16504
ROM:00000000000164B0 ; ---------------------------------------------------------------------------
ROM:00000000000164B0
ROM:00000000000164B0 loc_164B0 ; CODE XREF: sub_16304+5C↑j
ROM:00000000000164B0 ADRP X4, #aError@PAGE ; "ERROR"
ROM:00000000000164B4 ADRP X5, #aIncrementsDSiz@PAGE ; "increments[%d] size is bigger than pack"...
ROM:00000000000164B8 ADD X4, X4, #aError@PAGEOFF ; "ERROR"
ROM:00000000000164BC ADD X5, X5, #aIncrementsDSiz@PAGEOFF ; "increments[%d] size is bigger than pack"...
ROM:00000000000164C0 MOV W2, #0x105
ROM:00000000000164C4 B loc_164DC
ROM:00000000000164C8 ; ---------------------------------------------------------------------------
ROM:00000000000164C8
ROM:00000000000164C8 loc_164C8 ; CODE XREF: sub_16304+68↑j
ROM:00000000000164C8 ADRP X4, #aError@PAGE ; "ERROR"
ROM:00000000000164CC ADRP X5, #aIncrementsDIsN@PAGE ; "increments[%d] is not FS or image updat"...
ROM:00000000000164D0 ADD X4, X4, #aError@PAGEOFF ; "ERROR"
ROM:00000000000164D4 ADD X5, X5, #aIncrementsDIsN@PAGEOFF ; "increments[%d] is not FS or image updat"...
ROM:00000000000164D8 MOV W2, #0x10D
ROM:00000000000164DC
ROM:00000000000164DC loc_164DC ; CODE XREF: sub_16304+1C0↑j
ROM:00000000000164DC MOV W0, WZR
ROM:00000000000164E0 MOV X1, XZR
ROM:00000000000164E4 MOV X3, XZR
ROM:00000000000164E8 BL LOG
ROM:00000000000164EC B loc_16488
ROM:00000000000164F0 ; ---------------------------------------------------------------------------
ROM:00000000000164F0
ROM:00000000000164F0 loc_164F0 ; CODE XREF: sub_16304+78↑j
ROM:00000000000164F0 ADRP X4, #aError@PAGE ; "ERROR"
ROM:00000000000164F4 ADRP X5, #aIncrementsDHas@PAGE ; "increments[%d] has not been generated b"...
ROM:00000000000164F8 ADD X4, X4, #aError@PAGEOFF ; "ERROR"
ROM:00000000000164FC ADD X5, X5, #aIncrementsDHas@PAGEOFF ; "increments[%d] has not been generated b"...
ROM:0000000000016500 MOV W2, #0x116
ROM:0000000000016504
ROM:0000000000016504 loc_16504 ; CODE XREF: sub_16304+1A8↑j
ROM:0000000000016504 MOV W0, WZR
ROM:0000000000016508 MOV X1, XZR
ROM:000000000001650C MOV X3, XZR
ROM:0000000000016510 BL LOG
ROM:0000000000016514 B loc_16488
ROM:0000000000016514 ; End of function sub_16304