	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_int_sb_attn_init
_qed_int_sb_attn_init:                  ## @qed_int_sb_attn_init
	.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	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	8(%rdi), %rsi
	movq	%rdx, 32(%rsi)
	movl	%ecx, 24(%rsi)
	movq	_aeu_descs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rsi)
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rdi
	movq	_NUM_ATTN_REGS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	cmpl	$0, (%rbx)
	jle	LBB0_7
## %bb.1:
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_NETIF_MSG_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %r8d
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rdx
	movl	%r13d, %ecx
	callq	_DP_VERBOSE
	incq	%r13
	movq	_NUM_ATTN_REGS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r13
	jge	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=2
	movl	(%r14,%r12), %edi
	callq	_ATTENTION_LENGTH
	addl	%eax, %ebx
	addq	$4, %r12
	cmpl	$32, %ebx
	jge	LBB0_6
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_aeu_descs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r13,8), %r14
	leaq	(%r14,%r12), %rsi
	movq	%r15, %rdi
	callq	_qed_int_is_parity_flag
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	$1, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	orl	%eax, (%rcx,%r13,4)
	jmp	LBB0_5
LBB0_7:
	movl	(%r15), %eax
	shll	$3, %eax
	cltq
	movq	_MISC_REG_AEU_GENERAL_ATTN_0@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qed_int_sb_attn_setup          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_aeu_descs,8,3                  ## @aeu_descs
	.comm	_NUM_ATTN_REGS,4,2              ## @NUM_ATTN_REGS
	.comm	_NETIF_MSG_INTR,4,2             ## @NETIF_MSG_INTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Attn Mask [Reg %d]: 0x%08x\n"

	.comm	_MISC_REG_AEU_GENERAL_ATTN_0,8,3 ## @MISC_REG_AEU_GENERAL_ATTN_0
	.no_dead_strip	_qed_int_sb_attn_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_int_sb_attn_init
_qed_int_sb_attn_init:                  ; @qed_int_sb_attn_init
	.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
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	mov	x20, x0
	ldr	x23, [x0, #8]
	str	x2, [x23, #32]
	str	w3, [x23, #24]
Lloh0:
	adrp	x24, _aeu_descs@GOTPAGE
Lloh1:
	ldr	x24, [x24, _aeu_descs@GOTPAGEOFF]
	ldr	x8, [x24]
	str	x8, [x23, #16]
	ldr	x0, [x23]
Lloh2:
	adrp	x19, _NUM_ATTN_REGS@GOTPAGE
Lloh3:
	ldr	x19, [x19, _NUM_ATTN_REGS@GOTPAGEOFF]
	ldr	w8, [x19]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x21, #0
Lloh4:
	adrp	x26, _NETIF_MSG_INTR@GOTPAGE
Lloh5:
	ldr	x26, [x26, _NETIF_MSG_INTR@GOTPAGEOFF]
	mov	w27, #1
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x26]
	ldr	x8, [x23]
	ldr	w4, [x8, x21, lsl #2]
	mov	x0, x20
	mov	x2, x22
	mov	x3, x21
	bl	_DP_VERBOSE
	add	x21, x21, #1
Lloh8:
	adrp	x8, _NUM_ATTN_REGS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NUM_ATTN_REGS@GOTPAGEOFF]
Lloh10:
	ldrsw	x8, [x8]
	cmp	x21, x8
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x28, #0
	mov	w19, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	ldr	w0, [x25, x28]
	bl	_ATTENTION_LENGTH
	add	w19, w19, w0
	add	x28, x28, #4
	cmp	w19, #32
	b.ge	LBB0_2
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x24]
	ldr	x25, [x8, x21, lsl #3]
	add	x1, x25, x28
	mov	x0, x20
	bl	_qed_int_is_parity_flag
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	lsl	w8, w27, w19
	ldr	x9, [x23]
	lsl	x10, x21, #2
	ldr	w11, [x9, x10]
	orr	w8, w11, w8
	str	w8, [x9, x10]
	b	LBB0_4
LBB0_7:
	ldr	w8, [x20]
Lloh11:
	adrp	x9, _MISC_REG_AEU_GENERAL_ATTN_0@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MISC_REG_AEU_GENERAL_ATTN_0@GOTPAGEOFF]
	lsl	w8, w8, #3
Lloh13:
	ldr	x9, [x9]
	add	x8, x9, w8, sxtw
	str	x8, [x23, #8]
	mov	x0, x20
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	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
	b	_qed_int_sb_attn_setup
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_aeu_descs,8,3                  ; @aeu_descs
	.comm	_NUM_ATTN_REGS,4,2              ; @NUM_ATTN_REGS
	.comm	_NETIF_MSG_INTR,4,2             ; @NETIF_MSG_INTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Attn Mask [Reg %d]: 0x%08x\n"

	.comm	_MISC_REG_AEU_GENERAL_ATTN_0,8,3 ; @MISC_REG_AEU_GENERAL_ATTN_0
	.no_dead_strip	_qed_int_sb_attn_init
.subsections_via_symbols
