	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adapter_up
_adapter_up:                            ## @adapter_up
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %eax
	movq	_CXGB4VF_FULL_INIT_DONE@GOTPCREL(%rip), %r15
	testl	%eax, (%r15)
	je	LBB0_1
LBB0_7:
	movq	_CXGB4VF_USING_MSIX@GOTPCREL(%rip), %rbx
	movq	_CXGB4VF_USING_MSI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rbx), %ecx
	xorl	%edi, %edi
	testl	%eax, %ecx
	sete	%dil
	callq	_BUG_ON
	movl	(%rbx), %eax
	testl	%eax, (%r14)
	je	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	callq	_request_msix_queue_irqs
	jmp	LBB0_10
LBB0_1:
	movq	%r14, %rdi
	callq	_setup_sge_queues
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.2:
	movq	%r14, %rdi
	callq	_setup_rss
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_t4vf_free_sge_resources
	jmp	LBB0_13
LBB0_9:
	movq	16(%r14), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_t4vf_intr_handler
	movl	8(%r14), %ecx
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	movq	%r14, %r8
	callq	_request_irq
LBB0_10:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	4(%r14), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_err
	jmp	LBB0_13
LBB0_12:
	movq	%r14, %rdi
	callq	_enable_rx
	movq	%r14, %rdi
	callq	_t4vf_sge_start
	xorl	%ebx, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%r14), %eax
	movq	_CXGB4VF_USING_MSIX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_name_msix_vecs
	movl	(%r14), %eax
LBB0_6:
	orl	(%r15), %eax
	movl	%eax, (%r14)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_CXGB4VF_FULL_INIT_DONE,4,2     ## @CXGB4VF_FULL_INIT_DONE
	.comm	_CXGB4VF_USING_MSIX,4,2         ## @CXGB4VF_USING_MSIX
	.comm	_CXGB4VF_USING_MSI,4,2          ## @CXGB4VF_USING_MSI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"request_irq failed, err %d\n"

	.no_dead_strip	_adapter_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adapter_up
_adapter_up:                            ; @adapter_up
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x21, _CXGB4VF_FULL_INIT_DONE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CXGB4VF_FULL_INIT_DONE@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_1:
Lloh2:
	adrp	x20, _CXGB4VF_USING_MSIX@GOTPAGE
Lloh3:
	ldr	x20, [x20, _CXGB4VF_USING_MSIX@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh4:
	adrp	x10, _CXGB4VF_USING_MSI@GOTPAGE
Lloh5:
	ldr	x10, [x10, _CXGB4VF_USING_MSI@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	cset	w0, eq
	bl	_BUG_ON
	ldr	w8, [x19]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.2:
	mov	x0, x19
	bl	_request_msix_queue_irqs
	mov	x20, x0
	cbz	w0, LBB0_8
LBB0_3:
	ldr	w0, [x19, #4]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_err
	b	LBB0_9
LBB0_4:
	mov	x0, x19
	bl	_setup_sge_queues
	mov	x20, x0
	cbnz	w0, LBB0_9
; %bb.5:
	mov	x0, x19
	bl	_setup_rss
	cbz	w0, LBB0_10
; %bb.6:
	mov	x20, x0
	mov	x0, x19
	bl	_t4vf_free_sge_resources
	b	LBB0_9
LBB0_7:
	ldr	x8, [x19, #16]
	ldr	w20, [x8]
	mov	x0, x19
	bl	_t4vf_intr_handler
	mov	x1, x0
	ldr	w3, [x19, #8]
	mov	x0, x20
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	mov	x20, x0
	cbnz	w0, LBB0_3
LBB0_8:
	mov	x0, x19
	bl	_enable_rx
	mov	x0, x19
	bl	_t4vf_sge_start
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _CXGB4VF_USING_MSIX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CXGB4VF_USING_MSIX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_name_msix_vecs
	ldr	w8, [x19]
LBB0_12:
	ldr	w9, [x21]
	orr	w8, w8, w9
	str	w8, [x19]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_CXGB4VF_FULL_INIT_DONE,4,2     ; @CXGB4VF_FULL_INIT_DONE
	.comm	_CXGB4VF_USING_MSIX,4,2         ; @CXGB4VF_USING_MSIX
	.comm	_CXGB4VF_USING_MSI,4,2          ; @CXGB4VF_USING_MSI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"request_irq failed, err %d\n"

	.no_dead_strip	_adapter_up
.subsections_via_symbols
