	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_sec_sizes
_validate_sec_sizes:                    ## @validate_sec_sizes
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_IWL_UCODE_REGULAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %r15
	movq	_IWL_UCODE_SECTION_INST@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_get_sec_size
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_IWL_DEBUG_INFO
	movl	(%r15), %esi
	movq	_IWL_UCODE_SECTION_DATA@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_get_sec_size
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_IWL_DEBUG_INFO
	movq	_IWL_UCODE_INIT@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_get_sec_size
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_IWL_DEBUG_INFO
	movl	(%r12), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_get_sec_size
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_IWL_DEBUG_INFO
	movq	_IWL_UCODE_REGULAR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_get_sec_size
	movl	(%r15), %esi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	(%rcx), %rax
	jle	LBB0_2
## %bb.1:
	leaq	L_.str.4(%rip), %r15
	jmp	LBB0_8
LBB0_2:
	movq	%rcx, %r15
	movq	_IWL_UCODE_SECTION_DATA@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_get_sec_size
	cmpq	8(%r15), %rax
	jle	LBB0_4
## %bb.3:
	movq	_IWL_UCODE_REGULAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %r15
	movq	%r12, %r13
	jmp	LBB0_8
LBB0_4:
	movq	_IWL_UCODE_INIT@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_IWL_UCODE_SECTION_INST@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_get_sec_size
	movl	(%r12), %esi
	cmpq	(%r15), %rax
	jle	LBB0_6
## %bb.5:
	leaq	L_.str.6(%rip), %r15
	jmp	LBB0_8
LBB0_6:
	movq	_IWL_UCODE_SECTION_DATA@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_get_sec_size
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	8(%r15), %rcx
	jle	LBB0_9
## %bb.7:
	movq	_IWL_UCODE_REGULAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %r15
LBB0_8:
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_get_sec_size
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_IWL_ERR
	movl	$-1, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"f/w package hdr runtime inst size = %zd\n"

	.comm	_IWL_UCODE_REGULAR,4,2          ## @IWL_UCODE_REGULAR
	.comm	_IWL_UCODE_SECTION_INST,4,2     ## @IWL_UCODE_SECTION_INST
L_.str.1:                               ## @.str.1
	.asciz	"f/w package hdr runtime data size = %zd\n"

	.comm	_IWL_UCODE_SECTION_DATA,4,2     ## @IWL_UCODE_SECTION_DATA
L_.str.2:                               ## @.str.2
	.asciz	"f/w package hdr init inst size = %zd\n"

	.comm	_IWL_UCODE_INIT,4,2             ## @IWL_UCODE_INIT
L_.str.3:                               ## @.str.3
	.asciz	"f/w package hdr init data size = %zd\n"

L_.str.4:                               ## @.str.4
	.asciz	"uCode instr len %zd too large to fit in\n"

L_.str.5:                               ## @.str.5
	.asciz	"uCode data len %zd too large to fit in\n"

L_.str.6:                               ## @.str.6
	.asciz	"uCode init instr len %zd too large to fit in\n"

L_.str.7:                               ## @.str.7
	.asciz	"uCode init data len %zd too large to fit in\n"

	.no_dead_strip	_validate_sec_sizes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_sec_sizes
_validate_sec_sizes:                    ; @validate_sec_sizes
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _IWL_UCODE_REGULAR@GOTPAGE
Lloh1:
	ldr	x23, [x23, _IWL_UCODE_REGULAR@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh2:
	adrp	x22, _IWL_UCODE_SECTION_INST@GOTPAGE
Lloh3:
	ldr	x22, [x22, _IWL_UCODE_SECTION_INST@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_get_sec_size
	mov	x2, x0
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_INFO
	ldr	w1, [x23]
Lloh6:
	adrp	x24, _IWL_UCODE_SECTION_DATA@GOTPAGE
Lloh7:
	ldr	x24, [x24, _IWL_UCODE_SECTION_DATA@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x20
	bl	_get_sec_size
	mov	x2, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_INFO
Lloh10:
	adrp	x25, _IWL_UCODE_INIT@GOTPAGE
Lloh11:
	ldr	x25, [x25, _IWL_UCODE_INIT@GOTPAGEOFF]
	ldr	w1, [x25]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_get_sec_size
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_INFO
	ldr	w1, [x25]
	ldr	w2, [x24]
	mov	x0, x20
	bl	_get_sec_size
	mov	x2, x0
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_INFO
	ldr	w1, [x23]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_get_sec_size
	ldr	x8, [x21]
	ldr	w1, [x23]
	cmp	x0, x8
	b.le	LBB0_2
; %bb.1:
Lloh16:
	adrp	x21, l_.str.4@PAGE
Lloh17:
	add	x21, x21, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_2:
	ldr	w2, [x24]
	mov	x0, x20
	bl	_get_sec_size
	ldr	x8, [x21, #8]
	cmp	x0, x8
	b.le	LBB0_4
; %bb.3:
	ldr	w1, [x23]
Lloh18:
	adrp	x21, l_.str.5@PAGE
Lloh19:
	add	x21, x21, l_.str.5@PAGEOFF
	b	LBB0_8
LBB0_4:
	ldr	w1, [x25]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_get_sec_size
	ldr	x8, [x21]
	ldr	w1, [x25]
	cmp	x0, x8
	b.le	LBB0_6
; %bb.5:
Lloh20:
	adrp	x21, l_.str.6@PAGE
Lloh21:
	add	x21, x21, l_.str.6@PAGEOFF
	b	LBB0_9
LBB0_6:
	ldr	w2, [x24]
	mov	x0, x20
	bl	_get_sec_size
	ldr	x8, [x21, #8]
	cmp	x0, x8
	b.le	LBB0_11
; %bb.7:
	ldr	w1, [x23]
Lloh22:
	adrp	x21, l_.str.7@PAGE
Lloh23:
	add	x21, x21, l_.str.7@PAGEOFF
LBB0_8:
Lloh24:
	adrp	x22, _IWL_UCODE_SECTION_DATA@GOTPAGE
Lloh25:
	ldr	x22, [x22, _IWL_UCODE_SECTION_DATA@GOTPAGEOFF]
LBB0_9:
	ldr	w2, [x22]
	mov	x0, x20
	bl	_get_sec_size
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_IWL_ERR
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	w0, #0
	b	LBB0_10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"f/w package hdr runtime inst size = %zd\n"

	.comm	_IWL_UCODE_REGULAR,4,2          ; @IWL_UCODE_REGULAR
	.comm	_IWL_UCODE_SECTION_INST,4,2     ; @IWL_UCODE_SECTION_INST
l_.str.1:                               ; @.str.1
	.asciz	"f/w package hdr runtime data size = %zd\n"

	.comm	_IWL_UCODE_SECTION_DATA,4,2     ; @IWL_UCODE_SECTION_DATA
l_.str.2:                               ; @.str.2
	.asciz	"f/w package hdr init inst size = %zd\n"

	.comm	_IWL_UCODE_INIT,4,2             ; @IWL_UCODE_INIT
l_.str.3:                               ; @.str.3
	.asciz	"f/w package hdr init data size = %zd\n"

l_.str.4:                               ; @.str.4
	.asciz	"uCode instr len %zd too large to fit in\n"

l_.str.5:                               ; @.str.5
	.asciz	"uCode data len %zd too large to fit in\n"

l_.str.6:                               ; @.str.6
	.asciz	"uCode init instr len %zd too large to fit in\n"

l_.str.7:                               ; @.str.7
	.asciz	"uCode init data len %zd too large to fit in\n"

	.no_dead_strip	_validate_sec_sizes
.subsections_via_symbols
