	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macb_open
_macb_open:                             ## @macb_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	addq	(%r14), %rbx
	movq	%rax, %r15
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movl	40(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_dbg
	movq	8(%r15), %rdi
	callq	_pm_runtime_get_sync
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_netif_carrier_off
	cmpl	$0, 8(%r14)
	je	LBB0_10
## %bb.3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_macb_init_rx_buffer_size
	movq	%r15, %rdi
	callq	_macb_alloc_consistent
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_netdev_err
	jmp	LBB0_12
LBB0_1:
	movl	%eax, %r12d
	jmp	LBB0_12
LBB0_10:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	testl	%r12d, %r12d
	je	LBB0_14
## %bb.11:
	negl	%r12d
LBB0_12:
	movq	8(%r15), %rdi
	callq	_pm_runtime_put_sync
LBB0_13:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	cmpl	$0, (%r15)
	je	LBB0_8
## %bb.6:
	movq	32(%r15), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_napi_enable
	incl	%ebx
	addq	$4, %r12
	cmpl	(%r15), %ebx
	jb	LBB0_7
LBB0_8:
	movq	%r15, %rdi
	callq	*24(%r15)
	movq	%r15, %rdi
	callq	_macb_init_hw
	movl	8(%r14), %edi
	callq	_phy_start
	movq	%r14, %rdi
	callq	_netif_tx_start_all_queues
	movq	16(%r15), %rcx
	xorl	%r12d, %r12d
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.9:
	movq	%r14, %rdi
	callq	*(%rcx)
	jmp	LBB0_13
LBB0_14:
	xorl	%r12d, %r12d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.comm	_ETH_FCS_LEN,8,3                ## @ETH_FCS_LEN
	.comm	_NET_IP_ALIGN,8,3               ## @NET_IP_ALIGN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"open\n"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
L_.str.1:                               ## @.str.1
	.asciz	"Unable to allocate DMA memory (error %d)\n"

	.no_dead_strip	_macb_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macb_open
_macb_open:                             ; @macb_open
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x22, [x20]
Lloh0:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ETH_FCS_LEN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh4:
	ldr	x24, [x8]
Lloh5:
	ldr	x23, [x9]
Lloh6:
	adrp	x8, _NET_IP_ALIGN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NET_IP_ALIGN@GOTPAGEOFF]
Lloh8:
	ldr	x25, [x8]
	ldr	w0, [x0, #40]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_dbg
	ldr	x0, [x19, #8]
	bl	_pm_runtime_get_sync
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_netif_carrier_off
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_5
; %bb.2:
	add	x8, x24, x22
	add	x8, x8, x23
	add	x1, x8, x25
	mov	x0, x19
	bl	_macb_init_rx_buffer_size
	mov	x0, x19
	bl	_macb_alloc_consistent
	cbz	w0, LBB0_8
; %bb.3:
	mov	x21, x0
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_netdev_err
	b	LBB0_7
LBB0_4:
	mov	x21, x0
	b	LBB0_7
LBB0_5:
Lloh13:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cbz	w8, LBB0_13
; %bb.6:
	neg	w21, w8
LBB0_7:
	ldr	x0, [x19, #8]
	bl	_pm_runtime_put_sync
	b	LBB0_14
LBB0_8:
	ldr	w8, [x19]
	cbz	w8, LBB0_11
; %bb.9:
	mov	w22, #0
	ldr	x21, [x19, #32]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_napi_enable
	add	w22, w22, #1
	add	x21, x21, #4
	ldr	w8, [x19]
	cmp	w22, w8
	b.lo	LBB0_10
LBB0_11:
	ldr	x8, [x19, #24]
	mov	x0, x19
	blr	x8
	mov	x0, x19
	bl	_macb_init_hw
	ldr	w0, [x20, #8]
	bl	_phy_start
	mov	x0, x20
	bl	_netif_tx_start_all_queues
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
LBB0_13:
	mov	w21, #0
LBB0_14:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.comm	_ETH_FCS_LEN,8,3                ; @ETH_FCS_LEN
	.comm	_NET_IP_ALIGN,8,3               ; @NET_IP_ALIGN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"open\n"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
l_.str.1:                               ; @.str.1
	.asciz	"Unable to allocate DMA memory (error %d)\n"

	.no_dead_strip	_macb_open
.subsections_via_symbols
