	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxgb_open
_cxgb_open:                             ## @cxgb_open
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movq	_PORT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	(%rbx), %r13d
	leaq	24(%rbx), %r12
	movq	%r12, %rdi
	callq	_napi_enable
	cmpl	$0, (%rbx)
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_cxgb_up
	testl	%eax, %eax
	js	LBB0_2
LBB0_3:
	movq	(%r14), %rdi
	movq	%rbx, %rsi
	callq	___set_bit
	movq	(%r14), %rdi
	shlq	$2, %rdi
	addq	16(%rbx), %rdi
	callq	_link_start
	movq	%r14, %rdi
	callq	_netif_start_queue
	xorl	%r15d, %r15d
	testl	%r13d, %r13d
	jne	LBB0_6
## %bb.4:
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_schedule_mac_stats_update
	jmp	LBB0_6
LBB0_2:
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_napi_disable
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_MASK,4,2                  ## @PORT_MASK
	.no_dead_strip	_cxgb_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxgb_open
_cxgb_open:                             ; @cxgb_open
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	ldr	x19, [x0, #8]
	ldr	w23, [x19]
Lloh0:
	adrp	x8, _PORT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PORT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	add	x21, x19, #24
	mov	x0, x21
	bl	_napi_enable
	ldr	w8, [x19]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_cxgb_up
	tbnz	w0, #31, LBB0_7
LBB0_2:
	and	w21, w24, w23
	ldr	x0, [x20]
	mov	x1, x19
	bl	___set_bit
	ldr	x8, [x19, #16]
	ldr	x9, [x20]
	add	x0, x8, x9, lsl #2
	bl	_link_start
	mov	x0, x20
	bl	_netif_start_queue
	cbnz	w21, LBB0_5
; %bb.3:
	ldr	x1, [x19, #8]
	cbz	x1, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_schedule_mac_stats_update
LBB0_5:
	mov	w22, #0
LBB0_6:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x22, x0
	mov	x0, x21
	bl	_napi_disable
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_MASK,4,2                  ; @PORT_MASK
	.no_dead_strip	_cxgb_open
.subsections_via_symbols
