	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function de_open
_de_open:                               ## @de_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, %r12
	callq	_netdev_priv
	movq	%rax, %r14
	movq	8(%rax), %rax
	movl	(%rax), %r15d
	movq	_ifup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_netif_dbg
	movl	(%r12), %eax
	cmpl	$1501, %eax                     ## imm = 0x5DD
	jge	LBB0_1
## %bb.2:
	movq	_PKT_BUF_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_1:
	addl	$32, %eax
LBB0_3:
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_de_alloc_rings
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_10
LBB0_5:
	movq	_IntrMask@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_dw32
	movq	_de_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%r12), %ecx
	movl	%r15d, %edi
	movq	%r12, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_9
LBB0_7:
	movq	%r14, %rdi
	callq	_de_init_hw
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_netdev_err
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_free_irq
LBB0_9:
	movq	%r14, %rdi
	callq	_de_free_rings
LBB0_10:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r12, %rdi
	callq	_netif_start_queue
	addq	$4, %r14
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_DE_TIMER_NO_LINK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_mod_timer
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ifup,4,2                       ## @ifup
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enabling interface\n"

	.comm	_PKT_BUF_SZ,4,2                 ## @PKT_BUF_SZ
L_.str.1:                               ## @.str.1
	.asciz	"ring allocation failure, err=%d\n"

	.comm	_IntrMask,4,2                   ## @IntrMask
	.comm	_de_interrupt,4,2               ## @de_interrupt
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
L_.str.2:                               ## @.str.2
	.asciz	"IRQ %d request failure, err=%d\n"

L_.str.3:                               ## @.str.3
	.asciz	"h/w init failure, err=%d\n"

	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_DE_TIMER_NO_LINK,8,3           ## @DE_TIMER_NO_LINK
	.no_dead_strip	_de_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function de_open
_de_open:                               ; @de_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w21, [x8]
Lloh0:
	adrp	x8, _ifup@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ifup@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x2, x20
	bl	_netif_dbg
Lloh5:
	adrp	x8, _PKT_BUF_SZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PKT_BUF_SZ@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh7:
	ldr	w8, [x8]
	add	w10, w9, #32
	cmp	w9, #1501
	csel	w8, w8, w10, lt
	str	w8, [x19]
	mov	x0, x19
	bl	_de_alloc_rings
	cbz	w0, LBB0_2
; %bb.1:
	mov	x22, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_netdev_err
	b	LBB0_7
LBB0_2:
Lloh10:
	adrp	x8, _IntrMask@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IntrMask@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_dw32
Lloh13:
	adrp	x8, _de_interrupt@GOTPAGE
Lloh14:
	ldr	x8, [x8, _de_interrupt@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	ldr	w3, [x20, #4]
	mov	x0, x21
	mov	x4, x20
	bl	_request_irq
	cbz	w0, LBB0_4
; %bb.3:
	mov	x22, x0
	str	x22, [sp]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_netdev_err
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_de_init_hw
	mov	x22, x0
	cbz	w0, LBB0_8
; %bb.5:
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_netdev_err
	mov	x0, x21
	mov	x1, x20
	bl	_free_irq
LBB0_6:
	mov	x0, x19
	bl	_de_free_rings
LBB0_7:
	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
	add	sp, sp, #64
	ret
LBB0_8:
	mov	x0, x20
	bl	_netif_start_queue
Lloh23:
	adrp	x8, _jiffies@GOTPAGE
Lloh24:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
	add	x0, x19, #4
Lloh25:
	ldr	x8, [x8]
Lloh26:
	adrp	x9, _DE_TIMER_NO_LINK@GOTPAGE
Lloh27:
	ldr	x9, [x9, _DE_TIMER_NO_LINK@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_mod_timer
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ifup,4,2                       ; @ifup
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enabling interface\n"

	.comm	_PKT_BUF_SZ,4,2                 ; @PKT_BUF_SZ
l_.str.1:                               ; @.str.1
	.asciz	"ring allocation failure, err=%d\n"

	.comm	_IntrMask,4,2                   ; @IntrMask
	.comm	_de_interrupt,4,2               ; @de_interrupt
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
l_.str.2:                               ; @.str.2
	.asciz	"IRQ %d request failure, err=%d\n"

l_.str.3:                               ; @.str.3
	.asciz	"h/w init failure, err=%d\n"

	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_DE_TIMER_NO_LINK,8,3           ; @DE_TIMER_NO_LINK
	.no_dead_strip	_de_open
.subsections_via_symbols
