	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dp83867_config_intr
_dp83867_config_intr:                   ## @dp83867_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_PHY_INTERRUPT_ENABLED@GOTPCREL(%rip), %rcx
	movq	_MII_DP83867_MICR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_phy_read
	testl	%eax, %eax
	js	LBB0_5
## %bb.2:
	movq	_MII_DP83867_MICR_AN_ERR_INT_EN@GOTPCREL(%rip), %rcx
	movq	_MII_DP83867_MICR_SPEED_CHNG_INT_EN@GOTPCREL(%rip), %rsi
	movq	_MII_DP83867_MICR_AUTONEG_COMP_INT_EN@GOTPCREL(%rip), %rdi
	movq	_MII_DP83867_MICR_LINK_STS_CHNG_INT_EN@GOTPCREL(%rip), %r8
	movq	_MII_DP83867_MICR_DUP_MODE_CHNG_INT_EN@GOTPCREL(%rip), %r9
	movl	(%rcx), %edx
	orl	%eax, %edx
	orl	(%rsi), %edx
	orl	(%rdi), %edx
	orl	(%r8), %edx
	orl	(%r9), %edx
	movq	_MII_DP83867_MICR_SLEEP_MODE_CHNG_INT_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	xorl	%edx, %edx
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_phy_write                      ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_INTERRUPT_ENABLED,8,3      ## @PHY_INTERRUPT_ENABLED
	.comm	_MII_DP83867_MICR,4,2           ## @MII_DP83867_MICR
	.comm	_MII_DP83867_MICR_AN_ERR_INT_EN,4,2 ## @MII_DP83867_MICR_AN_ERR_INT_EN
	.comm	_MII_DP83867_MICR_SPEED_CHNG_INT_EN,4,2 ## @MII_DP83867_MICR_SPEED_CHNG_INT_EN
	.comm	_MII_DP83867_MICR_AUTONEG_COMP_INT_EN,4,2 ## @MII_DP83867_MICR_AUTONEG_COMP_INT_EN
	.comm	_MII_DP83867_MICR_LINK_STS_CHNG_INT_EN,4,2 ## @MII_DP83867_MICR_LINK_STS_CHNG_INT_EN
	.comm	_MII_DP83867_MICR_DUP_MODE_CHNG_INT_EN,4,2 ## @MII_DP83867_MICR_DUP_MODE_CHNG_INT_EN
	.comm	_MII_DP83867_MICR_SLEEP_MODE_CHNG_INT_EN,4,2 ## @MII_DP83867_MICR_SLEEP_MODE_CHNG_INT_EN
	.no_dead_strip	_dp83867_config_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dp83867_config_intr
_dp83867_config_intr:                   ; @dp83867_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	x20, _MII_DP83867_MICR@GOTPAGE
Lloh4:
	ldr	x20, [x20, _MII_DP83867_MICR@GOTPAGEOFF]
	ldr	w1, [x20]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_phy_read
	tbnz	w0, #31, LBB0_5
; %bb.2:
Lloh5:
	adrp	x8, _MII_DP83867_MICR_AN_ERR_INT_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MII_DP83867_MICR_AN_ERR_INT_EN@GOTPAGEOFF]
Lloh7:
	adrp	x9, _MII_DP83867_MICR_SPEED_CHNG_INT_EN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MII_DP83867_MICR_SPEED_CHNG_INT_EN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _MII_DP83867_MICR_AUTONEG_COMP_INT_EN@GOTPAGE
Lloh12:
	ldr	x10, [x10, _MII_DP83867_MICR_AUTONEG_COMP_INT_EN@GOTPAGEOFF]
Lloh13:
	adrp	x11, _MII_DP83867_MICR_LINK_STS_CHNG_INT_EN@GOTPAGE
Lloh14:
	ldr	x11, [x11, _MII_DP83867_MICR_LINK_STS_CHNG_INT_EN@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
Lloh16:
	ldr	w11, [x11]
Lloh17:
	adrp	x12, _MII_DP83867_MICR_DUP_MODE_CHNG_INT_EN@GOTPAGE
Lloh18:
	ldr	x12, [x12, _MII_DP83867_MICR_DUP_MODE_CHNG_INT_EN@GOTPAGEOFF]
Lloh19:
	adrp	x13, _MII_DP83867_MICR_SLEEP_MODE_CHNG_INT_EN@GOTPAGE
Lloh20:
	ldr	x13, [x13, _MII_DP83867_MICR_SLEEP_MODE_CHNG_INT_EN@GOTPAGEOFF]
Lloh21:
	ldr	w12, [x12]
Lloh22:
	ldr	w13, [x13]
	orr	w8, w8, w0
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w8, w8, w12
	orr	w2, w8, w13
	ldr	w1, [x20]
	mov	x0, x19
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	mov	w2, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_phy_write
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh21
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_INTERRUPT_ENABLED,8,3      ; @PHY_INTERRUPT_ENABLED
	.comm	_MII_DP83867_MICR,4,2           ; @MII_DP83867_MICR
	.comm	_MII_DP83867_MICR_AN_ERR_INT_EN,4,2 ; @MII_DP83867_MICR_AN_ERR_INT_EN
	.comm	_MII_DP83867_MICR_SPEED_CHNG_INT_EN,4,2 ; @MII_DP83867_MICR_SPEED_CHNG_INT_EN
	.comm	_MII_DP83867_MICR_AUTONEG_COMP_INT_EN,4,2 ; @MII_DP83867_MICR_AUTONEG_COMP_INT_EN
	.comm	_MII_DP83867_MICR_LINK_STS_CHNG_INT_EN,4,2 ; @MII_DP83867_MICR_LINK_STS_CHNG_INT_EN
	.comm	_MII_DP83867_MICR_DUP_MODE_CHNG_INT_EN,4,2 ; @MII_DP83867_MICR_DUP_MODE_CHNG_INT_EN
	.comm	_MII_DP83867_MICR_SLEEP_MODE_CHNG_INT_EN,4,2 ; @MII_DP83867_MICR_SLEEP_MODE_CHNG_INT_EN
	.no_dead_strip	_dp83867_config_intr
.subsections_via_symbols
