	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_fw_sge_queues
_setup_fw_sge_queues:                   ## @setup_fw_sge_queues
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	32(%rdi), %esi
	movl	40(%rdi), %edi
	callq	_bitmap_zero
	movl	32(%rbx), %esi
	movl	36(%rbx), %edi
	callq	_bitmap_zero
	movq	_CXGB4_USING_MSIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, %r8d
	testl	%eax, (%rbx)
	je	LBB0_1
LBB0_3:
	movl	%r8d, 4(%rbx)
	leaq	16(%rbx), %rsi
	movq	8(%rbx), %rax
	movl	(%rax), %ecx
	movq	_fwevtq_handler@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rsp)
	movl	$-1, 16(%rsp)
	movq	$0, 8(%rsp)
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%r9d, %r9d
	callq	_t4_sge_alloc_rxq
	jmp	LBB0_4
LBB0_1:
	leaq	24(%rbx), %r14
	movq	8(%rbx), %rax
	movl	(%rax), %ecx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movl	$-1, 16(%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_t4_sge_alloc_rxq
	testl	%eax, %eax
	je	LBB0_2
LBB0_4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movl	(%r14), %r8d
	notl	%r8d
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_CXGB4_USING_MSIX,4,2           ## @CXGB4_USING_MSIX
	.comm	_fwevtq_handler,8,3             ## @fwevtq_handler
	.no_dead_strip	_setup_fw_sge_queues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_fw_sge_queues
_setup_fw_sge_queues:                   ; @setup_fw_sge_queues
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #40]
	ldr	w1, [x19, #32]
	bl	_bitmap_zero
	ldp	w1, w0, [x19, #32]
	bl	_bitmap_zero
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _CXGB4_USING_MSIX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CXGB4_USING_MSIX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	mov	w4, #1
LBB0_2:
	str	w4, [x19, #4]
	add	x1, x19, #16
	ldr	x8, [x19, #8]
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _fwevtq_handler@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fwevtq_handler@GOTPAGEOFF]
Lloh5:
	ldr	x6, [x8]
	mov	w8, #-1
	str	w8, [sp]
	mov	x0, x19
	mov	w2, #1
	mov	x5, #0
	mov	x7, #0
	bl	_t4_sge_alloc_rxq
	b	LBB0_4
LBB0_3:
	add	x20, x19, #24
	ldr	x8, [x19, #8]
	ldr	w3, [x8]
	mov	w8, #-1
	str	w8, [sp]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_t4_sge_alloc_rxq
	cbz	w0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	ldr	w8, [x20]
	mvn	w4, w8
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CXGB4_USING_MSIX,4,2           ; @CXGB4_USING_MSIX
	.comm	_fwevtq_handler,8,3             ; @fwevtq_handler
	.no_dead_strip	_setup_fw_sge_queues
.subsections_via_symbols
