	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_sb_init
_qed_sb_init:                           ## @qed_sb_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	%r8, %rbx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	_QED_SB_TYPE_L2_QUEUE@GOTPCREL(%rip), %rax
	cmpl	%r9d, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	(%r15), %rsi
	movq	8(%r15), %rcx
	movq	%rbx, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rsi
	movq	%rax, %r13
	jmp	LBB0_5
LBB0_3:
	movq	%r15, %rdi
	callq	_QED_AFFIN_HWFN
	movq	%rax, %r14
	movq	%rbx, %r13
	jmp	LBB0_6
LBB0_4:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %r13d
                                        ## kill: def $edx killed $edx def $rdx
LBB0_5:
	leaq	(%rcx,%rdx,4), %r14
LBB0_6:
	movq	_NETIF_MSG_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_IS_LEAD_HWFN
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	movq	%r13, %r8
	movq	%rbx, %r9
	callq	_DP_VERBOSE
	movl	(%r14), %edi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%r14, %rdi
	callq	_qed_ptt_acquire
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	%r13, %r9
	callq	_qed_int_sb_init
	movl	%eax, %r15d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_qed_ptt_release
	movl	%r15d, %eax
	jmp	LBB0_11
LBB0_9:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	%r13, %r9
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qed_int_sb_init                ## TAILCALL
LBB0_10:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_SB_TYPE_L2_QUEUE,4,2       ## @QED_SB_TYPE_L2_QUEUE
	.comm	_NETIF_MSG_INTR,4,2             ## @NETIF_MSG_INTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hwfn [%d] <--[init]-- SB %04x [0x%04x upper]\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_qed_sb_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_sb_init
_qed_sb_init:                           ; @qed_sb_init
	.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	x24, x4
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x25, x0
Lloh0:
	adrp	x8, _QED_SB_TYPE_L2_QUEUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_SB_TYPE_L2_QUEUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w5
	b.ne	LBB0_2
; %bb.1:
	ldp	x9, x8, [x25]
	udiv	x23, x24, x9
	msub	x9, x23, x9, x24
	add	x22, x8, x9, lsl #2
	b	LBB0_3
LBB0_2:
	mov	x0, x25
	bl	_QED_AFFIN_HWFN
	mov	x22, x0
	mov	x23, x24
LBB0_3:
Lloh3:
	adrp	x8, _NETIF_MSG_INTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETIF_MSG_INTR@GOTPAGEOFF]
Lloh5:
	ldr	w26, [x8]
	mov	x0, x22
	bl	_IS_LEAD_HWFN
	cmp	x0, #0
	cset	w3, eq
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x25
	mov	x1, x26
	mov	x4, x23
	mov	x5, x24
	bl	_DP_VERBOSE
	ldr	w0, [x22]
	bl	_IS_PF
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x22
	bl	_qed_ptt_acquire
	cbz	x0, LBB0_7
; %bb.5:
	mov	x24, x0
	mov	x0, x22
	mov	x1, x24
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	x5, x23
	bl	_qed_int_sb_init
	mov	x19, x0
	mov	x0, x22
	mov	x1, x24
	bl	_qed_ptt_release
	mov	x0, x19
	b	LBB0_8
LBB0_6:
	mov	x0, x22
	mov	x1, #0
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	x5, x23
	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
	b	_qed_int_sb_init
LBB0_7:
Lloh8:
	adrp	x8, _EBUSY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_SB_TYPE_L2_QUEUE,4,2       ; @QED_SB_TYPE_L2_QUEUE
	.comm	_NETIF_MSG_INTR,4,2             ; @NETIF_MSG_INTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hwfn [%d] <--[init]-- SB %04x [0x%04x upper]\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_qed_sb_init
.subsections_via_symbols
