	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1_up
_atl1_up:                               ## @atl1_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, %r15
	movq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_atlx_set_multi
	movq	%r15, %rdi
	callq	_atl1_init_ring_ptrs
	movq	%r15, %rdi
	callq	_atlx_restore_vlan
	movq	%r15, %rdi
	callq	_atl1_alloc_rx_buffers
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_2:
	movq	%r15, %rdi
	callq	_atl1_configure
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_4
LBB0_5:
	movq	(%r15), %rdi
	callq	_pci_enable_msi
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_netif_msg_ifup
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	(%r15), %rdi
	addq	$4, %rdi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_info
LBB0_9:
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	jmp	LBB0_10
LBB0_6:
	xorl	%edx, %edx
LBB0_10:
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	_atl1_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	movq	%r14, %r8
	callq	_request_irq
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_11
LBB0_4:
	movq	(%r15), %rdi
	callq	_pci_disable_msi
	movq	%r15, %rdi
	callq	_atl1_clean_rx_ring
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	8(%r15), %rdi
	callq	_napi_enable
	movq	%r15, %rdi
	callq	_atlx_irq_enable
	movq	%r15, %rdi
	callq	_atl1_check_link
	movq	%r14, %rdi
	callq	_netif_start_queue
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to enable MSI: %d\n"

	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_atl1_intr,4,2                  ## @atl1_intr
	.no_dead_strip	_atl1_up
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1_up
_atl1_up:                               ; @atl1_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	x20, [x0, #16]
	mov	x0, x20
	bl	_atlx_set_multi
	mov	x0, x19
	bl	_atl1_init_ring_ptrs
	mov	x0, x19
	bl	_atlx_restore_vlan
	mov	x0, x19
	bl	_atl1_alloc_rx_buffers
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_11
LBB0_2:
	mov	x0, x19
	bl	_atl1_configure
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_10
LBB0_4:
	ldr	x0, [x19]
	bl	_pci_enable_msi
	cbz	w0, LBB0_8
; %bb.5:
	mov	x21, x0
	mov	x0, x19
	bl	_netif_msg_ifup
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x19]
	add	x0, x8, #4
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_dev_info
LBB0_7:
Lloh8:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	b	LBB0_9
LBB0_8:
	mov	w2, #0
LBB0_9:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _atl1_intr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _atl1_intr@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w3, [x20]
	mov	x4, x20
	bl	_request_irq
	mov	x21, x0
	bl	_unlikely
	cbz	x0, LBB0_12
LBB0_10:
	ldr	x0, [x19]
	bl	_pci_disable_msi
	mov	x0, x19
	bl	_atl1_clean_rx_ring
LBB0_11:
	mov	x0, x21
	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_12:
	add	x0, x19, #8
	bl	_napi_enable
	mov	x0, x19
	bl	_atlx_irq_enable
	mov	x0, x19
	bl	_atl1_check_link
	mov	x0, x20
	bl	_netif_start_queue
	mov	w21, #0
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to enable MSI: %d\n"

	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_atl1_intr,4,2                  ; @atl1_intr
	.no_dead_strip	_atl1_up
.subsections_via_symbols
