	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_parse_v1_v2_firmware
_iwl_parse_v1_v2_firmware:              ## @iwl_parse_v1_v2_firmware
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rsi), %r15
	movl	56(%r15), %edi
	callq	_le32_to_cpu
	movq	%rax, (%r14)
	movq	%rax, %rdi
	callq	_IWL_UCODE_API
	movl	(%rbx), %ecx
	cmpl	$3, %eax
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	jae	LBB0_1
## %bb.4:
	cmpl	$23, %ecx
	jle	LBB0_2
## %bb.5:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	_IWL_UCODE_REGULAR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r13d
	movq	_IWL_UCODE_SECTION_INST@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	20(%r15), %edi
	callq	_le32_to_cpu
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movq	%rax, %rcx
	callq	_set_sec_size
	movl	(%rbx), %r13d
	movq	_IWL_UCODE_SECTION_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	16(%r15), %edi
	callq	_le32_to_cpu
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movq	%rax, %rcx
	callq	_set_sec_size
	movq	_IWL_UCODE_INIT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r14d
	movq	_IWL_UCODE_SECTION_INST@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	12(%r15), %edi
	callq	_le32_to_cpu
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movq	%rax, %rcx
	callq	_set_sec_size
	movl	(%rbx), %r14d
	movq	_IWL_UCODE_SECTION_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	8(%r15), %edi
	callq	_le32_to_cpu
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movq	%rax, %rcx
	callq	_set_sec_size
	movq	(%r15), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	$24, -88(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_8
LBB0_1:
	cmpl	$27, %ecx
	jg	LBB0_6
LBB0_2:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_IWL_ERR
	jmp	LBB0_3
LBB0_6:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movl	48(%r15), %edi
	callq	_le32_to_cpu
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_IWL_UCODE_REGULAR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r14d
	movq	_IWL_UCODE_SECTION_INST@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	44(%r15), %edi
	callq	_le32_to_cpu
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movq	%rax, %rcx
	callq	_set_sec_size
	movl	(%rbx), %r13d
	movq	_IWL_UCODE_SECTION_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	40(%r15), %edi
	callq	_le32_to_cpu
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movq	%rax, %rcx
	callq	_set_sec_size
	movq	_IWL_UCODE_INIT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r14d
	movq	_IWL_UCODE_SECTION_INST@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	36(%r15), %edi
	callq	_le32_to_cpu
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movq	%rax, %rcx
	callq	_set_sec_size
	movl	(%rbx), %r14d
	movq	_IWL_UCODE_SECTION_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	32(%r15), %edi
	callq	_le32_to_cpu
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movq	%rax, %rcx
	callq	_set_sec_size
	movq	24(%r15), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	testl	%edx, %edx
	je	LBB0_7
## %bb.14:
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	leaq	L_.str.1(%rip), %rsi
	leaq	-80(%rbp), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_sprintf
	movl	$28, -88(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_9
LBB0_7:
	movl	$28, -88(%rbp)                  ## 4-byte Folded Spill
LBB0_8:
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	movb	$0, -80(%rbp)
LBB0_9:
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	8(%rbx), %r13d
	movq	(%rbx), %rdi
	callq	_IWL_UCODE_MAJOR
	movl	%eax, %r12d
	movq	(%rbx), %rdi
	callq	_IWL_UCODE_MINOR
	movl	%eax, %r15d
	movq	(%rbx), %rdi
	callq	_IWL_UCODE_API
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	callq	_IWL_UCODE_SERIAL
                                        ## kill: def $eax killed $eax def $rax
	leaq	-80(%rbp), %r10
	leaq	L_.str.2(%rip), %rdx
	movl	%r13d, %edi
	movl	$4, %esi
	movl	%r12d, %ecx
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	pushq	%r10
	pushq	%rax
	callq	_snprintf
	addq	$16, %rsp
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movq	_IWL_UCODE_REGULAR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_IWL_UCODE_SECTION_INST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	callq	_get_sec_size
	movl	%eax, %ebx
	addl	-88(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	(%r14), %esi
	movq	_IWL_UCODE_SECTION_DATA@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r12, %rdi
	callq	_get_sec_size
	movl	%eax, %r14d
	addl	%ebx, %r14d
	movq	_IWL_UCODE_INIT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_IWL_UCODE_SECTION_INST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_get_sec_size
	movl	%eax, %ebx
	addl	%r14d, %ebx
	movl	(%r13), %esi
	movl	(%r15), %edx
	movq	%r12, %rdi
	callq	_get_sec_size
	addl	%ebx, %eax
	cmpl	%eax, -108(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_10
## %bb.11:
	movq	_IWL_UCODE_REGULAR@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_IWL_UCODE_SECTION_INST@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%r12, %rdi
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_set_sec_data
	movl	(%r13), %esi
	movl	(%r14), %edx
	movq	%r14, %r15
	movq	%r12, %rdi
	callq	_get_sec_size
	cltq
	leaq	(%rbx,%rax,4), %r14
	movl	(%r13), %esi
	movl	(%r15), %edx
	movq	%r15, %rbx
	movq	_IWLAGN_RTC_INST_LOWER_BOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	callq	_set_sec_offset
	movl	(%r13), %esi
	movq	_IWL_UCODE_SECTION_DATA@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r12, %rdi
	movq	%r14, %rcx
	callq	_set_sec_data
	movl	(%r13), %esi
	movl	(%r15), %edx
	movq	%r12, %rdi
	callq	_get_sec_size
	cltq
	leaq	(%r14,%rax,4), %r14
	movl	(%r13), %esi
	movl	(%r15), %edx
	movq	_IWLAGN_RTC_DATA_LOWER_BOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	callq	_set_sec_offset
	movq	_IWL_UCODE_INIT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	(%rbx), %edx
	movq	%r12, %rdi
	movq	%r14, %rcx
	callq	_set_sec_data
	movl	(%r13), %esi
	movl	(%rbx), %edx
	movq	%r12, %rdi
	callq	_get_sec_size
	cltq
	leaq	(%r14,%rax,4), %rbx
	movl	(%r13), %esi
	movq	_IWL_UCODE_SECTION_INST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IWLAGN_RTC_INST_LOWER_BOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	callq	_set_sec_offset
	movl	(%r13), %esi
	movl	(%r15), %edx
	movq	%r12, %rdi
	movq	%rbx, %rcx
	callq	_set_sec_data
	movl	(%r13), %esi
	movl	(%r15), %edx
	movq	%r12, %rdi
	callq	_get_sec_size
	movl	(%r13), %esi
	movl	(%r15), %edx
	movq	_IWLAGN_RTC_DATA_LOWER_BOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	callq	_set_sec_offset
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_10:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_IWL_ERR
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.13:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"File size too small!\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IWL_UCODE_REGULAR,4,2          ## @IWL_UCODE_REGULAR
	.comm	_IWL_UCODE_SECTION_INST,4,2     ## @IWL_UCODE_SECTION_INST
	.comm	_IWL_UCODE_SECTION_DATA,4,2     ## @IWL_UCODE_SECTION_DATA
	.comm	_IWL_UCODE_INIT,4,2             ## @IWL_UCODE_INIT
L_.str.1:                               ## @.str.1
	.asciz	" build %u"

L_.str.2:                               ## @.str.2
	.asciz	"%u.%u.%u.%u%s"

L_.str.3:                               ## @.str.3
	.asciz	"uCode file size %d does not match expected size\n"

	.comm	_IWLAGN_RTC_INST_LOWER_BOUND,4,2 ## @IWLAGN_RTC_INST_LOWER_BOUND
	.comm	_IWLAGN_RTC_DATA_LOWER_BOUND,4,2 ## @IWLAGN_RTC_DATA_LOWER_BOUND
	.no_dead_strip	_iwl_parse_v1_v2_firmware
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_parse_v1_v2_firmware
_iwl_parse_v1_v2_firmware:              ; @iwl_parse_v1_v2_firmware
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x25, [x1, #8]
	ldr	w0, [x25, #56]
	bl	_le32_to_cpu
	str	x0, [x20]
	bl	_IWL_UCODE_API
	ldr	w8, [x21]
	cmp	w0, #3
	b.hs	LBB0_3
; %bb.1:
	cmp	w8, #23
	b.le	LBB0_4
; %bb.2:
Lloh3:
	adrp	x24, _IWL_UCODE_REGULAR@GOTPAGE
Lloh4:
	ldr	x24, [x24, _IWL_UCODE_REGULAR@GOTPAGEOFF]
	ldr	w22, [x24]
Lloh5:
	adrp	x26, _IWL_UCODE_SECTION_INST@GOTPAGE
Lloh6:
	ldr	x26, [x26, _IWL_UCODE_SECTION_INST@GOTPAGEOFF]
	ldr	w23, [x26]
	ldr	w0, [x25, #20]
	bl	_le32_to_cpu
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_set_sec_size
	ldr	w22, [x24]
Lloh7:
	adrp	x24, _IWL_UCODE_SECTION_DATA@GOTPAGE
Lloh8:
	ldr	x24, [x24, _IWL_UCODE_SECTION_DATA@GOTPAGEOFF]
	ldr	w23, [x24]
	ldr	w0, [x25, #16]
	bl	_le32_to_cpu
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_set_sec_size
Lloh9:
	adrp	x27, _IWL_UCODE_INIT@GOTPAGE
Lloh10:
	ldr	x27, [x27, _IWL_UCODE_INIT@GOTPAGEOFF]
	ldr	w22, [x27]
	ldr	w23, [x26]
	ldr	w0, [x25, #12]
	bl	_le32_to_cpu
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_set_sec_size
	ldr	w22, [x27]
	ldr	w23, [x24]
	ldr	w0, [x25, #8]
	bl	_le32_to_cpu
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	bl	_set_sec_size
	ldr	x22, [x25]
	mov	w27, #24
	b	LBB0_8
LBB0_3:
	cmp	w8, #27
	b.gt	LBB0_5
LBB0_4:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_12
LBB0_5:
	ldr	w0, [x25, #48]
	bl	_le32_to_cpu
	mov	x23, x0
Lloh13:
	adrp	x26, _IWL_UCODE_REGULAR@GOTPAGE
Lloh14:
	ldr	x26, [x26, _IWL_UCODE_REGULAR@GOTPAGEOFF]
	ldr	w22, [x26]
Lloh15:
	adrp	x27, _IWL_UCODE_SECTION_INST@GOTPAGE
Lloh16:
	ldr	x27, [x27, _IWL_UCODE_SECTION_INST@GOTPAGEOFF]
	ldr	w24, [x27]
	ldr	w0, [x25, #44]
	bl	_le32_to_cpu
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	bl	_set_sec_size
	ldr	w22, [x26]
Lloh17:
	adrp	x26, _IWL_UCODE_SECTION_DATA@GOTPAGE
Lloh18:
	ldr	x26, [x26, _IWL_UCODE_SECTION_DATA@GOTPAGEOFF]
	ldr	w24, [x26]
	ldr	w0, [x25, #40]
	bl	_le32_to_cpu
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	bl	_set_sec_size
Lloh19:
	adrp	x28, _IWL_UCODE_INIT@GOTPAGE
Lloh20:
	ldr	x28, [x28, _IWL_UCODE_INIT@GOTPAGEOFF]
	ldr	w22, [x28]
	ldr	w24, [x27]
	ldr	w0, [x25, #36]
	bl	_le32_to_cpu
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	bl	_set_sec_size
	ldr	w22, [x28]
	ldr	w24, [x26]
	ldr	w0, [x25, #32]
	bl	_le32_to_cpu
	mov	x3, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x24
	bl	_set_sec_size
	ldr	x22, [x25, #24]
	cbz	w23, LBB0_7
; %bb.6:
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #15
	mov	x2, x23
	bl	_sprintf
	mov	w27, #28
	b	LBB0_9
LBB0_7:
	mov	w27, #28
LBB0_8:
	strb	wzr, [sp, #15]
LBB0_9:
	ldr	w23, [x20, #8]
	ldr	x0, [x20]
	bl	_IWL_UCODE_MAJOR
	mov	x24, x0
	ldr	x0, [x20]
	bl	_IWL_UCODE_MINOR
	mov	x25, x0
	ldr	x0, [x20]
	bl	_IWL_UCODE_API
	mov	x26, x0
	ldr	x0, [x20]
	bl	_IWL_UCODE_SERIAL
	mov	x6, x0
Lloh23:
	adrp	x2, l_.str.2@PAGE
Lloh24:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x7, sp, #15
	mov	x0, x23
	mov	w1, #4
	mov	x3, x24
	mov	x4, x25
	mov	x5, x26
	bl	_snprintf
	ldr	w28, [x21]
Lloh25:
	adrp	x26, _IWL_UCODE_REGULAR@GOTPAGE
Lloh26:
	ldr	x26, [x26, _IWL_UCODE_REGULAR@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh27:
	adrp	x25, _IWL_UCODE_SECTION_INST@GOTPAGE
Lloh28:
	ldr	x25, [x25, _IWL_UCODE_SECTION_INST@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x19
	bl	_get_sec_size
	add	w24, w0, w27
	ldr	w1, [x26]
Lloh29:
	adrp	x23, _IWL_UCODE_SECTION_DATA@GOTPAGE
Lloh30:
	ldr	x23, [x23, _IWL_UCODE_SECTION_DATA@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_get_sec_size
	add	w27, w24, w0
Lloh31:
	adrp	x24, _IWL_UCODE_INIT@GOTPAGE
Lloh32:
	ldr	x24, [x24, _IWL_UCODE_INIT@GOTPAGEOFF]
	ldr	w1, [x24]
	ldr	w2, [x25]
	mov	x0, x19
	bl	_get_sec_size
	add	w27, w27, w0
	ldr	w1, [x24]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_get_sec_size
	add	w8, w27, w0
	cmp	w28, w8
	b.ne	LBB0_11
; %bb.10:
	ldr	w1, [x26]
	ldr	w2, [x25]
	mov	x0, x19
	mov	x3, x22
	bl	_set_sec_data
	ldr	w1, [x26]
	ldr	w2, [x25]
	mov	x0, x19
	bl	_get_sec_size
	add	x20, x22, w0, sxtw #2
	ldr	w1, [x26]
	ldr	w2, [x25]
Lloh33:
	adrp	x21, _IWLAGN_RTC_INST_LOWER_BOUND@GOTPAGE
Lloh34:
	ldr	x21, [x21, _IWLAGN_RTC_INST_LOWER_BOUND@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	x0, x19
	bl	_set_sec_offset
	ldr	w1, [x26]
	ldr	w2, [x23]
	mov	x0, x19
	mov	x3, x20
	bl	_set_sec_data
	ldr	w1, [x26]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_get_sec_size
	add	x20, x20, w0, sxtw #2
	ldr	w1, [x26]
	ldr	w2, [x23]
Lloh35:
	adrp	x22, _IWLAGN_RTC_DATA_LOWER_BOUND@GOTPAGE
Lloh36:
	ldr	x22, [x22, _IWLAGN_RTC_DATA_LOWER_BOUND@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x19
	bl	_set_sec_offset
	ldr	w1, [x24]
	ldr	w2, [x25]
	mov	x0, x19
	mov	x3, x20
	bl	_set_sec_data
	ldr	w1, [x24]
	ldr	w2, [x25]
	mov	x0, x19
	bl	_get_sec_size
	add	x20, x20, w0, sxtw #2
	ldr	w1, [x24]
	ldr	w2, [x25]
	ldr	w3, [x21]
	mov	x0, x19
	bl	_set_sec_offset
	ldr	w1, [x24]
	ldr	w2, [x23]
	mov	x0, x19
	mov	x3, x20
	bl	_set_sec_data
	ldr	w1, [x24]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_get_sec_size
	ldr	w1, [x24]
	ldr	w2, [x23]
	ldr	w3, [x22]
	mov	x0, x19
	bl	_set_sec_offset
	mov	w0, #0
	b	LBB0_13
LBB0_11:
	ldr	w8, [x21]
	str	x8, [sp]
Lloh37:
	adrp	x1, l_.str.3@PAGE
Lloh38:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_12:
	mov	x0, x20
	bl	_IWL_ERR
Lloh39:
	adrp	x8, _EINVAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	ldr	x8, [sp, #40]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"File size too small!\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IWL_UCODE_REGULAR,4,2          ; @IWL_UCODE_REGULAR
	.comm	_IWL_UCODE_SECTION_INST,4,2     ; @IWL_UCODE_SECTION_INST
	.comm	_IWL_UCODE_SECTION_DATA,4,2     ; @IWL_UCODE_SECTION_DATA
	.comm	_IWL_UCODE_INIT,4,2             ; @IWL_UCODE_INIT
l_.str.1:                               ; @.str.1
	.asciz	" build %u"

l_.str.2:                               ; @.str.2
	.asciz	"%u.%u.%u.%u%s"

l_.str.3:                               ; @.str.3
	.asciz	"uCode file size %d does not match expected size\n"

	.comm	_IWLAGN_RTC_INST_LOWER_BOUND,4,2 ; @IWLAGN_RTC_INST_LOWER_BOUND
	.comm	_IWLAGN_RTC_DATA_LOWER_BOUND,4,2 ; @IWLAGN_RTC_DATA_LOWER_BOUND
	.no_dead_strip	_iwl_parse_v1_v2_firmware
.subsections_via_symbols
