	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at803x_config_intr
_at803x_config_intr:                    ## @at803x_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	_AT803X_INTR_ENABLE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_phy_read
	movq	(%rbx), %rcx
	movq	_PHY_INTERRUPT_ENABLED@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	cmpq	(%rsi), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_AT803X_INTR_ENABLE_AUTONEG_ERR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_AT803X_INTR_ENABLE_SPEED_CHANGED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_AT803X_INTR_ENABLE_DUPLEX_CHANGED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_AT803X_INTR_ENABLE_LINK_FAIL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_AT803X_INTR_ENABLE_LINK_SUCCESS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %edx
LBB0_2:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_phy_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AT803X_INTR_ENABLE,4,2         ## @AT803X_INTR_ENABLE
	.comm	_PHY_INTERRUPT_ENABLED,8,3      ## @PHY_INTERRUPT_ENABLED
	.comm	_AT803X_INTR_ENABLE_AUTONEG_ERR,4,2 ## @AT803X_INTR_ENABLE_AUTONEG_ERR
	.comm	_AT803X_INTR_ENABLE_SPEED_CHANGED,4,2 ## @AT803X_INTR_ENABLE_SPEED_CHANGED
	.comm	_AT803X_INTR_ENABLE_DUPLEX_CHANGED,4,2 ## @AT803X_INTR_ENABLE_DUPLEX_CHANGED
	.comm	_AT803X_INTR_ENABLE_LINK_FAIL,4,2 ## @AT803X_INTR_ENABLE_LINK_FAIL
	.comm	_AT803X_INTR_ENABLE_LINK_SUCCESS,4,2 ## @AT803X_INTR_ENABLE_LINK_SUCCESS
	.no_dead_strip	_at803x_config_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at803x_config_intr
_at803x_config_intr:                    ; @at803x_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	x20, _AT803X_INTR_ENABLE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _AT803X_INTR_ENABLE@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_phy_read
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _PHY_INTERRUPT_ENABLED@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PHY_INTERRUPT_ENABLED@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _AT803X_INTR_ENABLE_AUTONEG_ERR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AT803X_INTR_ENABLE_AUTONEG_ERR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh8:
	adrp	x9, _AT803X_INTR_ENABLE_SPEED_CHANGED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AT803X_INTR_ENABLE_SPEED_CHANGED@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh11:
	adrp	x9, _AT803X_INTR_ENABLE_DUPLEX_CHANGED@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AT803X_INTR_ENABLE_DUPLEX_CHANGED@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _AT803X_INTR_ENABLE_LINK_FAIL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AT803X_INTR_ENABLE_LINK_FAIL@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _AT803X_INTR_ENABLE_LINK_SUCCESS@GOTPAGE
Lloh18:
	ldr	x9, [x9, _AT803X_INTR_ENABLE_LINK_SUCCESS@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w2, w8, w9
	b	LBB0_3
LBB0_2:
	mov	w2, #0
LBB0_3:
	ldr	w1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_phy_write
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AT803X_INTR_ENABLE,4,2         ; @AT803X_INTR_ENABLE
	.comm	_PHY_INTERRUPT_ENABLED,8,3      ; @PHY_INTERRUPT_ENABLED
	.comm	_AT803X_INTR_ENABLE_AUTONEG_ERR,4,2 ; @AT803X_INTR_ENABLE_AUTONEG_ERR
	.comm	_AT803X_INTR_ENABLE_SPEED_CHANGED,4,2 ; @AT803X_INTR_ENABLE_SPEED_CHANGED
	.comm	_AT803X_INTR_ENABLE_DUPLEX_CHANGED,4,2 ; @AT803X_INTR_ENABLE_DUPLEX_CHANGED
	.comm	_AT803X_INTR_ENABLE_LINK_FAIL,4,2 ; @AT803X_INTR_ENABLE_LINK_FAIL
	.comm	_AT803X_INTR_ENABLE_LINK_SUCCESS,4,2 ; @AT803X_INTR_ENABLE_LINK_SUCCESS
	.no_dead_strip	_at803x_config_intr
.subsections_via_symbols
