	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ep93xx_open
_ep93xx_open:                           ## @ep93xx_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_ep93xx_alloc_buffers
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	callq	_napi_enable
	movq	%r14, %rdi
	callq	_ep93xx_start_hw
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_napi_disable
	movq	%r15, %rdi
	callq	_ep93xx_free_buffers
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	48(%r15), %rdi
	callq	_spin_lock_init
	movq	%r15, %rdi
	addq	$16, %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r15)
	movq	$0, 40(%r15)
	callq	_spin_lock_init
	movq	$0, 8(%r15)
	movl	4(%r15), %edi
	movq	_ep93xx_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	movq	%r14, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_napi_disable
	movq	%r14, %rdi
	callq	_ep93xx_stop_hw
	movq	%r15, %rdi
	callq	_ep93xx_free_buffers
	jmp	LBB0_8
LBB0_7:
	movq	_REG_GIINTMSK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REG_GIINTMSK_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_wrl
	movq	%r14, %rdi
	callq	_netif_start_queue
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EIO,4,2                        ## @EIO
	.comm	_ep93xx_irq,4,2                 ## @ep93xx_irq
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_REG_GIINTMSK,4,2               ## @REG_GIINTMSK
	.comm	_REG_GIINTMSK_ENABLE,4,2        ## @REG_GIINTMSK_ENABLE
	.no_dead_strip	_ep93xx_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ep93xx_open
_ep93xx_open:                           ; @ep93xx_open
	.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
	bl	_netdev_priv
	mov	x20, x0
	bl	_ep93xx_alloc_buffers
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	mov	x0, x20
	bl	_napi_enable
	mov	x0, x19
	bl	_ep93xx_start_hw
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_napi_disable
	mov	x0, x20
	bl	_ep93xx_free_buffers
Lloh2:
	adrp	x8, _EIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_5:
	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_6:
	add	x0, x20, #48
	bl	_spin_lock_init
	add	x0, x20, #16
	stp	xzr, xzr, [x20, #32]
	str	xzr, [x20, #24]
	bl	_spin_lock_init
	str	xzr, [x20, #8]
Lloh4:
	adrp	x8, _ep93xx_irq@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ep93xx_irq@GOTPAGEOFF]
	ldr	w0, [x20, #4]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	ldr	w3, [x19]
	mov	x4, x19
	bl	_request_irq
	mov	x21, x0
	cbz	w0, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_napi_disable
	mov	x0, x19
	bl	_ep93xx_stop_hw
	mov	x0, x20
	bl	_ep93xx_free_buffers
	b	LBB0_5
LBB0_8:
Lloh10:
	adrp	x8, _REG_GIINTMSK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _REG_GIINTMSK@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _REG_GIINTMSK_ENABLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _REG_GIINTMSK_ENABLE@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_wrl
	mov	x0, x19
	bl	_netif_start_queue
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EIO,4,2                        ; @EIO
	.comm	_ep93xx_irq,4,2                 ; @ep93xx_irq
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_REG_GIINTMSK,4,2               ; @REG_GIINTMSK
	.comm	_REG_GIINTMSK_ENABLE,4,2        ; @REG_GIINTMSK_ENABLE
	.no_dead_strip	_ep93xx_open
.subsections_via_symbols
