	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_int_igu_init_pure_rt_single ## -- Begin function qed_int_igu_init_pure_rt_single
	.p2align	4, 0x90
_qed_int_igu_init_pure_rt_single:       ## @qed_int_igu_init_pure_rt_single
	.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
	movl	%r8d, %r14d
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_NETIF_MSG_INTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	(%rdx,%rdx,2), %rcx
	movl	8(%rax,%rcx,4), %r8d
	movl	(%rax,%rcx,4), %edx
	movl	4(%rax,%rcx,4), %r9d
	movl	%edx, (%rsp)
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rcx
	callq	_DP_VERBOSE
	testl	%r14d, %r14d
	movq	%r15, %r14
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movl	$1, %ecx
	movq	%r14, %r8
	callq	_qed_int_igu_cleanup_sb
LBB0_2:
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_qed_int_igu_cleanup_sb
	movq	_IGU_CLEANUP_SLEEP_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.3:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %r14
	shrq	$3, %r14
	andq	$-4, %r14
                                        ## kill: def $r12d killed $r12d killed $r12 def $r12
	andl	$31, %r12d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_IGU_REG_WRITE_DONE_PENDING@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%r14, %rdx
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_qed_rd
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$10, %edi
	movl	$20, %esi
	callq	_usleep_range
	incl	%r15d
	movq	_IGU_CLEANUP_SLEEP_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r15d
	jl	LBB0_4
	jmp	LBB0_7
LBB0_5:
	movq	_IGU_CLEANUP_SLEEP_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	cmpl	%eax, %r15d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_DP_NOTICE
LBB0_9:
	movq	_CAU_REG_PI_MEMORY@GOTPCREL(%rip), %r12
	shlq	$4, %rbx
	leaq	(%rbx,%rbx,2), %r14
	movq	(%r12), %rdx
	addq	%r14, %rdx
	movq	%r13, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	(%r12), %rax
	leaq	(%rax,%r14), %rdx
	addq	$4, %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	(%r12), %rax
	leaq	(%rax,%r14), %rdx
	addq	$8, %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	(%r12), %rax
	leaq	(%rax,%r14), %rdx
	addq	$12, %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	(%r12), %rax
	leaq	(%rax,%r14), %rdx
	addq	$16, %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	(%r12), %rax
	leaq	(%rax,%r14), %rdx
	addq	$20, %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	(%r12), %rax
	leaq	(%rax,%r14), %rdx
	addq	$24, %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	(%r12), %rax
	leaq	(%rax,%r14), %rdx
	addq	$28, %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	(%r12), %rax
	leaq	(%rax,%r14), %rdx
	addq	$32, %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	(%r12), %rax
	leaq	(%rax,%r14), %rdx
	addq	$36, %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	(%r12), %rax
	leaq	(%rax,%r14), %rdx
	addq	$40, %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_qed_wr
	movq	(%r12), %rax
	leaq	(%rax,%r14), %rdx
	addq	$44, %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qed_wr                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_MSG_INTR,4,2             ## @NETIF_MSG_INTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cleaning SB [%04x]: func_id= %d is_pf = %d vector_num = 0x%0x\n"

	.comm	_IGU_CLEANUP_SLEEP_LENGTH,4,2   ## @IGU_CLEANUP_SLEEP_LENGTH
	.comm	_IGU_REG_WRITE_DONE_PENDING,8,3 ## @IGU_REG_WRITE_DONE_PENDING
L_.str.1:                               ## @.str.1
	.asciz	"Failed SB[0x%08x] still appearing in WRITE_DONE_PENDING\n"

	.comm	_CAU_REG_PI_MEMORY,8,3          ## @CAU_REG_PI_MEMORY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_int_igu_init_pure_rt_single ; -- Begin function qed_int_igu_init_pure_rt_single
	.p2align	2
_qed_int_igu_init_pure_rt_single:       ; @qed_int_igu_init_pure_rt_single
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x4
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _NETIF_MSG_INTR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETIF_MSG_INTR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	w9, #12
	madd	x8, x2, x9, x8
	ldp	w5, w4, [x8, #4]
	ldr	w6, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x21
	bl	_DP_VERBOSE
	cbz	w23, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	w3, #1
	mov	x4, x22
	bl	_qed_int_igu_cleanup_sb
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	w3, #0
	mov	x4, x22
	bl	_qed_int_igu_cleanup_sb
Lloh5:
	adrp	x25, _IGU_CLEANUP_SLEEP_LENGTH@GOTPAGE
Lloh6:
	ldr	x25, [x25, _IGU_CLEANUP_SLEEP_LENGTH@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	mov	w24, #0
	lsr	x8, x21, #3
	and	x26, x8, #0x1ffffffffffffffc
	and	x22, x21, #0x1f
Lloh7:
	adrp	x27, _IGU_REG_WRITE_DONE_PENDING@GOTPAGE
Lloh8:
	ldr	x27, [x27, _IGU_REG_WRITE_DONE_PENDING@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	add	x2, x8, x26
	mov	x0, x20
	mov	x1, x19
	bl	_qed_rd
	mov	x23, x0
	mov	x0, x22
	bl	_BIT
	tst	w0, w23
	b.eq	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #10
	mov	w1, #20
	bl	_usleep_range
	add	w24, w24, #1
	ldr	w8, [x25]
	cmp	w24, w8
	b.lt	LBB0_4
	b	LBB0_7
LBB0_6:
	mov	w24, #0
LBB0_7:
	cmp	w24, w8
	b.ne	LBB0_9
LBB0_8:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_DP_NOTICE
LBB0_9:
Lloh11:
	adrp	x22, _CAU_REG_PI_MEMORY@GOTPAGE
Lloh12:
	ldr	x22, [x22, _CAU_REG_PI_MEMORY@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x9, x21, x21, lsl #1
	lsl	x21, x9, #4
	add	x2, x8, x21
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	x8, [x22]
	add	x8, x8, x21
	add	x2, x8, #4
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	x8, [x22]
	add	x8, x8, x21
	add	x2, x8, #8
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	x8, [x22]
	add	x8, x8, x21
	add	x2, x8, #12
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x2, x8, #16
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x2, x8, #20
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x2, x8, #24
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x2, x8, #28
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x2, x8, #32
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x2, x8, #36
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x2, x8, #40
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	bl	_qed_wr
	ldr	x8, [x22]
	add	x8, x21, x8
	add	x2, x8, #44
	mov	x0, x20
	mov	x1, x19
	mov	w3, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_qed_wr
LBB0_10:
	ldr	w8, [x25]
	cmp	w24, w8
	b.eq	LBB0_8
	b	LBB0_9
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_MSG_INTR,4,2             ; @NETIF_MSG_INTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cleaning SB [%04x]: func_id= %d is_pf = %d vector_num = 0x%0x\n"

	.comm	_IGU_CLEANUP_SLEEP_LENGTH,4,2   ; @IGU_CLEANUP_SLEEP_LENGTH
	.comm	_IGU_REG_WRITE_DONE_PENDING,8,3 ; @IGU_REG_WRITE_DONE_PENDING
l_.str.1:                               ; @.str.1
	.asciz	"Failed SB[0x%08x] still appearing in WRITE_DONE_PENDING\n"

	.comm	_CAU_REG_PI_MEMORY,8,3          ; @CAU_REG_PI_MEMORY
.subsections_via_symbols
