	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w90p910_ether_open
_w90p910_ether_open:                    ## @w90p910_ether_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, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movq	24(%rax), %r14
	movq	%rbx, %rdi
	callq	_w90p910_reset_mac
	movq	%rbx, %rdi
	callq	_w90p910_set_fifo_threshold
	movq	%rbx, %rdi
	callq	_w90p910_set_curdest
	movq	%rbx, %rdi
	callq	_w90p910_enable_cam
	movq	%rbx, %rdi
	callq	_w90p910_enable_cam_command
	movq	%rbx, %rdi
	callq	_w90p910_enable_mac_interrupt
	movq	%rbx, %rdi
	callq	_w90p910_set_global_maccmd
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_w90p910_enable_rx
	movq	$0, (%r15)
	movl	12(%r15), %edi
	movq	_w90p910_tx_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %ecx
	xorl	%r12d, %r12d
	xorl	%edx, %edx
	movq	%rbx, %r8
	callq	_request_irq
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_2
LBB0_3:
	movl	16(%r15), %edi
	movq	_w90p910_rx_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %ecx
	xorl	%r12d, %r12d
	xorl	%edx, %edx
	movq	%rbx, %r8
	callq	_request_irq
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movl	12(%r15), %edi
	movq	%rbx, %rsi
	callq	_free_irq
LBB0_2:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
LBB0_6:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	addq	$8, %r15
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_msecs_to_jiffies
	addq	%rax, %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_mod_timer
	movq	%rbx, %rdi
	callq	_netif_start_queue
	movq	%rbx, %rdi
	callq	_w90p910_trigger_rx
	movl	(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_w90p910_tx_interrupt,4,2       ## @w90p910_tx_interrupt
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"register irq tx failed\n"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_w90p910_rx_interrupt,4,2       ## @w90p910_rx_interrupt
L_.str.1:                               ## @.str.1
	.asciz	"register irq rx failed\n"

	.comm	_jiffies,8,3                    ## @jiffies
L_.str.2:                               ## @.str.2
	.asciz	"%s is OPENED\n"

	.no_dead_strip	_w90p910_ether_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w90p910_ether_open
_w90p910_ether_open:                    ; @w90p910_ether_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	x21, x0
	ldr	x20, [x0, #24]
	mov	x0, x19
	bl	_w90p910_reset_mac
	mov	x0, x19
	bl	_w90p910_set_fifo_threshold
	mov	x0, x19
	bl	_w90p910_set_curdest
	mov	x0, x19
	bl	_w90p910_enable_cam
	mov	x0, x19
	bl	_w90p910_enable_cam_command
	mov	x0, x19
	bl	_w90p910_enable_mac_interrupt
	mov	x0, x19
	bl	_w90p910_set_global_maccmd
	mov	x0, x19
	mov	w1, #1
	bl	_w90p910_enable_rx
	str	xzr, [x21]
	ldr	w0, [x21, #12]
Lloh0:
	adrp	x8, _w90p910_tx_interrupt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _w90p910_tx_interrupt@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w3, [x20, #4]
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_4
LBB0_2:
	ldr	w0, [x21, #16]
Lloh5:
	adrp	x8, _w90p910_rx_interrupt@GOTPAGE
Lloh6:
	ldr	x8, [x8, _w90p910_rx_interrupt@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w3, [x20, #4]
	mov	w2, #0
	mov	x4, x19
	bl	_request_irq
	cbz	x0, LBB0_6
; %bb.3:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w0, [x21, #12]
	mov	x1, x19
	bl	_free_irq
LBB0_4:
Lloh10:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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	x21, x21, #8
Lloh13:
	adrp	x8, _jiffies@GOTPAGE
Lloh14:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh15:
	ldr	x22, [x8]
	mov	w0, #1000
	bl	_msecs_to_jiffies
	add	x1, x0, x22
	mov	x0, x21
	bl	_mod_timer
	mov	x0, x19
	bl	_netif_start_queue
	mov	x0, x19
	bl	_w90p910_trigger_rx
	ldr	w2, [x19]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_w90p910_tx_interrupt,4,2       ; @w90p910_tx_interrupt
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"register irq tx failed\n"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_w90p910_rx_interrupt,4,2       ; @w90p910_rx_interrupt
l_.str.1:                               ; @.str.1
	.asciz	"register irq rx failed\n"

	.comm	_jiffies,8,3                    ; @jiffies
l_.str.2:                               ; @.str.2
	.asciz	"%s is OPENED\n"

	.no_dead_strip	_w90p910_ether_open
.subsections_via_symbols
