	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxgb_up
_cxgb_up:                               ## @cxgb_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, %rbx
	movq	_FULL_INIT_DONE@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
LBB0_3:
	movq	%rbx, %rdi
	callq	_t1_interrupts_clear
	movq	_disable_msi@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.4:
	leaq	16(%rbx), %r15
	movl	$0, 16(%rbx)
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	jmp	LBB0_8
LBB0_1:
	movq	%rbx, %rdi
	callq	_t1_init_hw_modules
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_12
## %bb.2:
	movq	%rbx, %rdi
	callq	_enable_hw_csum
	movl	(%r15), %eax
	orl	%eax, (%rbx)
	jmp	LBB0_3
LBB0_5:
	movq	8(%rbx), %rdi
	callq	_pci_enable_msi
	movl	%eax, %edx
	xorl	%eax, %eax
	testl	%edx, %edx
	sete	%al
	movl	%eax, 16(%rbx)
	je	LBB0_7
## %bb.6:
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_7:
	leaq	16(%rbx), %r15
LBB0_8:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movq	_t1_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%rbx), %ecx
	movq	%rbx, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movl	%eax, %r14d
	cmpl	$0, (%r15)
	je	LBB0_12
## %bb.10:
	movq	8(%rbx), %rdi
	callq	_pci_disable_msi
	jmp	LBB0_12
LBB0_11:
	movl	4(%rbx), %edi
	callq	_t1_sge_start
	movq	%rbx, %rdi
	callq	_t1_interrupts_enable
	xorl	%r14d, %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FULL_INIT_DONE,4,2             ## @FULL_INIT_DONE
	.comm	_disable_msi,4,2                ## @disable_msi
	.comm	_t1_interrupt,4,2               ## @t1_interrupt
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.no_dead_strip	_cxgb_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxgb_up
_cxgb_up:                               ; @cxgb_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, _FULL_INIT_DONE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FULL_INIT_DONE@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_1:
	mov	x0, x19
	bl	_t1_interrupts_clear
Lloh2:
	adrp	x8, _disable_msi@GOTPAGE
Lloh3:
	ldr	x8, [x8, _disable_msi@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbz	w8, LBB0_5
; %bb.2:
	mov	x21, x19
	str	wzr, [x21, #16]!
Lloh5:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	b	LBB0_6
LBB0_3:
	mov	x0, x19
	bl	_t1_init_hw_modules
	mov	x20, x0
	cbnz	w0, LBB0_10
; %bb.4:
	mov	x0, x19
	bl	_enable_hw_csum
	ldr	w8, [x21]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_1
LBB0_5:
	ldr	x0, [x19, #8]
	bl	_pci_enable_msi
Lloh8:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w2, wzr, w8, eq
	cset	w8, eq
	mov	x21, x19
	str	w8, [x21, #16]!
LBB0_6:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _t1_interrupt@GOTPAGE
Lloh12:
	ldr	x8, [x8, _t1_interrupt@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w3, [x19, #20]
	mov	x4, x19
	bl	_request_irq
	mov	x20, x0
	cbz	w0, LBB0_9
; %bb.7:
	ldr	w8, [x21]
	cbz	w8, LBB0_10
; %bb.8:
	ldr	x0, [x19, #8]
	bl	_pci_disable_msi
	b	LBB0_10
LBB0_9:
	ldr	w0, [x19, #4]
	bl	_t1_sge_start
	mov	x0, x19
	bl	_t1_interrupts_enable
LBB0_10:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FULL_INIT_DONE,4,2             ; @FULL_INIT_DONE
	.comm	_disable_msi,4,2                ; @disable_msi
	.comm	_t1_interrupt,4,2               ; @t1_interrupt
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.no_dead_strip	_cxgb_up
.subsections_via_symbols
