	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ax_phy_switch
_ax_phy_switch:                         ## @ax_phy_switch
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_to_ax_dev
	movq	(%rax), %rax
	movl	(%rax), %eax
	movq	_AX_GPOC_PPDSET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%ebx, %ecx
	notl	%ecx
	andl	%eax, %ecx
	orl	%eax, %ebx
	testl	%r14d, %r14d
	cmovnel	%ecx, %ebx
	movq	(%r15), %r14
	movl	$23, %edi
	callq	_EI_SHIFT
	addq	%rax, %r14
	movl	%ebx, %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ei_outb                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AX_GPOC_PPDSET,4,2             ## @AX_GPOC_PPDSET
	.no_dead_strip	_ax_phy_switch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ax_phy_switch
_ax_phy_switch:                         ; @ax_phy_switch
	.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, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x21, x0
	mov	x0, x20
	bl	_to_ax_dev
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _AX_GPOC_PPDSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AX_GPOC_PPDSET@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bic	w10, w8, w9
	orr	w8, w9, w8
	cmp	w19, #0
	csel	w19, w8, w10, eq
	ldr	x20, [x21]
	mov	w0, #23
	bl	_EI_SHIFT
	add	x1, x0, x20
	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
	b	_ei_outb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AX_GPOC_PPDSET,4,2             ; @AX_GPOC_PPDSET
	.no_dead_strip	_ax_phy_switch
.subsections_via_symbols
