	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rio_open
_rio_open:                              ## @rio_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, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movq	8(%rax), %rax
	movl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_alloc_list
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	%r15, %rdi
	callq	_rio_hw_init
	movq	_rio_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movl	%r12d, %edi
	movq	%r15, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_rio_hw_stop
	movq	%r15, %rdi
	callq	_free_list
	jmp	LBB0_4
LBB0_3:
	movq	_rio_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_timer_setup
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	(%rax), %rcx
	movq	%rcx, (%r14)
	movq	%r14, %rdi
	callq	_add_timer
	movq	%r15, %rdi
	callq	_netif_start_queue
	movq	%r14, %rdi
	callq	_dl2k_enable_int
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rio_interrupt,4,2              ## @rio_interrupt
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_rio_timer,4,2                  ## @rio_timer
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_rio_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rio_open
_rio_open:                              ; @rio_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
	ldr	x8, [x0, #8]
	ldr	w22, [x8]
	mov	x0, x19
	bl	_alloc_list
	mov	x21, x0
	cbnz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_rio_hw_init
Lloh0:
	adrp	x8, _rio_interrupt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rio_interrupt@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldr	w3, [x19]
	mov	x0, x22
	mov	x4, x19
	bl	_request_irq
	mov	x21, x0
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_rio_hw_stop
	mov	x0, x19
	bl	_free_list
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _rio_timer@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rio_timer@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_timer_setup
Lloh9:
	adrp	x8, _jiffies@GOTPAGE
Lloh10:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _HZ@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh14:
	ldrsw	x9, [x9]
	add	x8, x8, x9
	str	x8, [x20]
	mov	x0, x20
	bl	_add_timer
	mov	x0, x19
	bl	_netif_start_queue
	mov	x0, x20
	bl	_dl2k_enable_int
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_rio_interrupt,4,2              ; @rio_interrupt
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_rio_timer,4,2                  ; @rio_timer
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_rio_open
.subsections_via_symbols
