	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mipsnet_open
_mipsnet_open:                          ## @mipsnet_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, %rbx
	movl	4(%rdi), %ecx
	movl	8(%rdi), %edi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_mipsnet_interrupt@GOTPCREL(%rip), %rsi
	movq	%rbx, %r8
	callq	_request_irq
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	movl	$4, %esi
	callq	_release_region
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_netif_start_queue
	movq	_MIPSNET_INTCTL_TESTBIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_interruptControl@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_regaddr
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_outl
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mipsnet_interrupt,4,2          ## @mipsnet_interrupt
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_MIPSNET_INTCTL_TESTBIT,4,2     ## @MIPSNET_INTCTL_TESTBIT
	.comm	_interruptControl,4,2           ## @interruptControl
	.no_dead_strip	_mipsnet_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mipsnet_open
_mipsnet_open:                          ; @mipsnet_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	x20, x0
Lloh0:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	ldr	w0, [x0, #8]
	ldr	w3, [x20, #4]
Lloh3:
	adrp	x1, _mipsnet_interrupt@GOTPAGE
Lloh4:
	ldr	x1, [x1, _mipsnet_interrupt@GOTPAGEOFF]
	mov	x4, x20
	bl	_request_irq
	mov	x19, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	mov	w1, #4
	bl	_release_region
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_netif_start_queue
Lloh5:
	adrp	x8, _MIPSNET_INTCTL_TESTBIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MIPSNET_INTCTL_TESTBIT@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
Lloh8:
	adrp	x8, _interruptControl@GOTPAGE
Lloh9:
	ldr	x8, [x8, _interruptControl@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_regaddr
	mov	x1, x0
	mov	x0, x21
	bl	_outl
LBB0_3:
	mov	x0, x19
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_mipsnet_interrupt,4,2          ; @mipsnet_interrupt
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_MIPSNET_INTCTL_TESTBIT,4,2     ; @MIPSNET_INTCTL_TESTBIT
	.comm	_interruptControl,4,2           ; @interruptControl
	.no_dead_strip	_mipsnet_open
.subsections_via_symbols
