	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpu_port
_mpu_port:                              ## @mpu_port
	.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	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_netdev_priv
	orl	%r15d, %ebx
	movq	_OPT_SWAP_PORT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movl	%ebx, %r15d
	sarl	$16, %r15d
	andl	(%rax), %r12d
	movzwl	%bx, %ebx
	movl	%r15d, %edi
	cmovel	%ebx, %edi
	movq	_PA_CPU_PORT_L_ACCESS@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	addq	(%r14), %rsi
	callq	_gsc_writel
	movq	_running_on_qemu@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	$1, %edi
	callq	_udelay
LBB0_2:
	testl	%r12d, %r12d
	cmovel	%r15d, %ebx
	movq	(%r13), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gsc_writel                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OPT_SWAP_PORT,4,2              ## @OPT_SWAP_PORT
	.comm	_PA_CPU_PORT_L_ACCESS,8,3       ## @PA_CPU_PORT_L_ACCESS
	.comm	_running_on_qemu,4,2            ## @running_on_qemu
	.no_dead_strip	_mpu_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpu_port
_mpu_port:                              ; @mpu_port
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_netdev_priv
	orr	w8, w20, w21
	ldr	w9, [x0]
Lloh0:
	adrp	x10, _OPT_SWAP_PORT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _OPT_SWAP_PORT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	ands	w20, w10, w9
	asr	w21, w8, #16
	and	w22, w8, #0xffff
	csel	w0, w22, w21, eq
	ldr	x8, [x19]
Lloh3:
	adrp	x23, _PA_CPU_PORT_L_ACCESS@GOTPAGE
Lloh4:
	ldr	x23, [x23, _PA_CPU_PORT_L_ACCESS@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x1, x9, x8
	bl	_gsc_writel
Lloh5:
	adrp	x8, _running_on_qemu@GOTPAGE
Lloh6:
	ldr	x8, [x8, _running_on_qemu@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_udelay
LBB0_2:
	cmp	w20, #0
	csel	w0, w21, w22, eq
	ldr	x8, [x19]
	ldr	x9, [x23]
	add	x1, x9, x8
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_gsc_writel
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OPT_SWAP_PORT,4,2              ; @OPT_SWAP_PORT
	.comm	_PA_CPU_PORT_L_ACCESS,8,3       ; @PA_CPU_PORT_L_ACCESS
	.comm	_running_on_qemu,4,2            ; @running_on_qemu
	.no_dead_strip	_mpu_port
.subsections_via_symbols
