	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il3945_verify_inst_full
_il3945_verify_inst_full:               ## @il3945_verify_inst_full
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	xorl	%r12d, %r12d
	movq	%rdx, %rsi
	xorl	%eax, %eax
	callq	_D_INFO
	movq	_HBUS_TARG_MEM_RADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IL39_RTC_INST_LOWER_BOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_il_wr
	testq	%r14, %r14
	jle	LBB0_8
## %bb.1:
	addq	$8, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %r13
	addq	$-8, %r14
	addq	$8, %rbx
	cmpq	$8, %r14
	jle	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_HBUS_TARG_MEM_RDAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	__il_rd
	movq	%rax, %r15
	movl	(%r13), %edi
	callq	_le32_to_cpu
	cmpq	%rax, %r15
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	callq	_le32_to_cpu
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%rax, %rcx
	callq	_IL_ERR
	xorl	%r12d, %r12d
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$18, %rax
	jg	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	jmp	LBB0_6
LBB0_7:
	testq	%rax, %rax
	jne	LBB0_9
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_D_INFO
LBB0_9:
	movl	%r12d, %eax
	addq	$24, %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	"ucode inst image size is %u\n"

	.comm	_HBUS_TARG_MEM_RADDR,4,2        ## @HBUS_TARG_MEM_RADDR
	.comm	_IL39_RTC_INST_LOWER_BOUND,4,2  ## @IL39_RTC_INST_LOWER_BOUND
	.comm	_HBUS_TARG_MEM_RDAT,4,2         ## @HBUS_TARG_MEM_RDAT
L_.str.1:                               ## @.str.1
	.asciz	"uCode INST section is invalid at offset 0x%x, is 0x%x, s/b 0x%x\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.2:                               ## @.str.2
	.asciz	"ucode image in INSTRUCTION memory is good\n"

	.no_dead_strip	_il3945_verify_inst_full
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il3945_verify_inst_full
_il3945_verify_inst_full:               ; @il3945_verify_inst_full
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x23, x2
	mov	x19, x1
	mov	x20, x0
	str	x2, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D_INFO
Lloh2:
	adrp	x8, _HBUS_TARG_MEM_RADDR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HBUS_TARG_MEM_RADDR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _IL39_RTC_INST_LOWER_BOUND@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IL39_RTC_INST_LOWER_BOUND@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_il_wr
	cmp	x23, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x22, #0
	mov	x25, #0
	mov	w21, #0
	add	x26, x23, #8
Lloh8:
	adrp	x27, _HBUS_TARG_MEM_RDAT@GOTPAGE
Lloh9:
	ldr	x27, [x27, _HBUS_TARG_MEM_RDAT@GOTPAGEOFF]
Lloh10:
	adrp	x28, _EIO@GOTPAGE
Lloh11:
	ldr	x28, [x28, _EIO@GOTPAGEOFF]
Lloh12:
	adrp	x23, l_.str.1@PAGE
Lloh13:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #4
	sub	x26, x26, #8
	add	x22, x22, #8
	cmp	x26, #8
	b.le	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x27]
	mov	x0, x20
	bl	__il_rd
	mov	x24, x0
	ldr	w0, [x19]
	bl	_le32_to_cpu
	cmp	x24, x0
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19]
	bl	_le32_to_cpu
	mov	x3, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	bl	_IL_ERR
	ldr	w8, [x28]
	neg	w21, w8
	cmp	x25, #18
	b.le	LBB0_2
	b	LBB0_9
LBB0_6:
	mov	w21, #0
	b	LBB0_8
LBB0_7:
	cbnz	x25, LBB0_9
LBB0_8:
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_D_INFO
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ucode inst image size is %u\n"

	.comm	_HBUS_TARG_MEM_RADDR,4,2        ; @HBUS_TARG_MEM_RADDR
	.comm	_IL39_RTC_INST_LOWER_BOUND,4,2  ; @IL39_RTC_INST_LOWER_BOUND
	.comm	_HBUS_TARG_MEM_RDAT,4,2         ; @HBUS_TARG_MEM_RDAT
l_.str.1:                               ; @.str.1
	.asciz	"uCode INST section is invalid at offset 0x%x, is 0x%x, s/b 0x%x\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.2:                               ; @.str.2
	.asciz	"ucode image in INSTRUCTION memory is good\n"

	.no_dead_strip	_il3945_verify_inst_full
.subsections_via_symbols
