	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ste10Xp_config_intr
_ste10Xp_config_intr:                   ## @ste10Xp_config_intr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_PHY_INTERRUPT_ENABLED@GOTPCREL(%rip), %rcx
	movq	_MII_XIE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	_MII_XIE_DEFAULT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_phy_write
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_MII_XCIIS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_phy_read
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_phy_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_INTERRUPT_ENABLED,8,3      ## @PHY_INTERRUPT_ENABLED
	.comm	_MII_XIE,4,2                    ## @MII_XIE
	.comm	_MII_XIE_DEFAULT_MASK,4,2       ## @MII_XIE_DEFAULT_MASK
	.comm	_MII_XCIIS,4,2                  ## @MII_XCIIS
	.no_dead_strip	_ste10Xp_config_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ste10Xp_config_intr
_ste10Xp_config_intr:                   ; @ste10Xp_config_intr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _PHY_INTERRUPT_ENABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PHY_INTERRUPT_ENABLED@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x10, _MII_XIE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MII_XIE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x10]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _MII_XIE_DEFAULT_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MII_XIE_DEFAULT_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_phy_write
	cbnz	w0, LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _MII_XCIIS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MII_XCIIS@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_phy_read
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_phy_write
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_INTERRUPT_ENABLED,8,3      ; @PHY_INTERRUPT_ENABLED
	.comm	_MII_XIE,4,2                    ; @MII_XIE
	.comm	_MII_XIE_DEFAULT_MASK,4,2       ; @MII_XIE_DEFAULT_MASK
	.comm	_MII_XCIIS,4,2                  ; @MII_XCIIS
	.no_dead_strip	_ste10Xp_config_intr
.subsections_via_symbols
