	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dp83811_config_intr
_dp83811_config_intr:                   ## @dp83811_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_DP83811_INT_STAT1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movq	%rbx, %rdi
	callq	_phy_read
	testl	%eax, %eax
	js	LBB0_10
## %bb.2:
	movq	_DP83811_RX_ERR_HF_INT_EN@GOTPCREL(%rip), %rcx
	movq	_DP83811_MS_TRAINING_INT_EN@GOTPCREL(%rip), %rsi
	movq	_DP83811_ANEG_COMPLETE_INT_EN@GOTPCREL(%rip), %rdi
	movq	_DP83811_ESD_EVENT_INT_EN@GOTPCREL(%rip), %r8
	movq	_DP83811_WOL_INT_EN@GOTPCREL(%rip), %r9
	movq	_DP83811_LINK_STAT_INT_EN@GOTPCREL(%rip), %r10
	movq	_DP83811_ENERGY_DET_INT_EN@GOTPCREL(%rip), %r11
	movl	(%rcx), %edx
	orl	%eax, %edx
	orl	(%rsi), %edx
	orl	(%rdi), %edx
	orl	(%r8), %edx
	orl	(%r9), %edx
	orl	(%r10), %edx
	orl	(%r11), %edx
	movq	_DP83811_LINK_QUAL_INT_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_phy_write
	testl	%eax, %eax
	js	LBB0_10
## %bb.3:
	movq	_MII_DP83811_INT_STAT2@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_phy_read
	testl	%eax, %eax
	js	LBB0_10
## %bb.4:
	movq	_DP83811_JABBER_DET_INT_EN@GOTPCREL(%rip), %rcx
	movq	_DP83811_POLARITY_INT_EN@GOTPCREL(%rip), %rsi
	movq	_DP83811_SLEEP_MODE_INT_EN@GOTPCREL(%rip), %rdi
	movq	_DP83811_OVERTEMP_INT_EN@GOTPCREL(%rip), %r8
	movq	_DP83811_OVERVOLTAGE_INT_EN@GOTPCREL(%rip), %r9
	movl	(%rcx), %edx
	orl	%eax, %edx
	orl	(%rsi), %edx
	orl	(%rdi), %edx
	orl	(%r8), %edx
	orl	(%r9), %edx
	movq	_DP83811_UNDERVOLTAGE_INT_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_phy_write
	testl	%eax, %eax
	js	LBB0_10
## %bb.5:
	movq	_MII_DP83811_INT_STAT3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_phy_read
	testl	%eax, %eax
	js	LBB0_10
## %bb.6:
	movq	_DP83811_LPS_INT_EN@GOTPCREL(%rip), %rcx
	movq	_DP83811_NO_FRAME_INT_EN@GOTPCREL(%rip), %rdx
	movq	_DP83811_POR_DONE_INT_EN@GOTPCREL(%rip), %rsi
	movl	(%rcx), %r14d
	orl	%eax, %r14d
	orl	(%rdx), %r14d
	orl	(%rsi), %r14d
	jmp	LBB0_7
LBB0_8:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_phy_write
	testl	%eax, %eax
	js	LBB0_10
## %bb.9:
	movq	_MII_DP83811_INT_STAT2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_phy_write
	testl	%eax, %eax
	js	LBB0_10
LBB0_7:
	movq	_MII_DP83811_INT_STAT3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_phy_write                      ## TAILCALL
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_INTERRUPT_ENABLED,8,3      ## @PHY_INTERRUPT_ENABLED
	.comm	_MII_DP83811_INT_STAT1,4,2      ## @MII_DP83811_INT_STAT1
	.comm	_DP83811_RX_ERR_HF_INT_EN,4,2   ## @DP83811_RX_ERR_HF_INT_EN
	.comm	_DP83811_MS_TRAINING_INT_EN,4,2 ## @DP83811_MS_TRAINING_INT_EN
	.comm	_DP83811_ANEG_COMPLETE_INT_EN,4,2 ## @DP83811_ANEG_COMPLETE_INT_EN
	.comm	_DP83811_ESD_EVENT_INT_EN,4,2   ## @DP83811_ESD_EVENT_INT_EN
	.comm	_DP83811_WOL_INT_EN,4,2         ## @DP83811_WOL_INT_EN
	.comm	_DP83811_LINK_STAT_INT_EN,4,2   ## @DP83811_LINK_STAT_INT_EN
	.comm	_DP83811_ENERGY_DET_INT_EN,4,2  ## @DP83811_ENERGY_DET_INT_EN
	.comm	_DP83811_LINK_QUAL_INT_EN,4,2   ## @DP83811_LINK_QUAL_INT_EN
	.comm	_MII_DP83811_INT_STAT2,4,2      ## @MII_DP83811_INT_STAT2
	.comm	_DP83811_JABBER_DET_INT_EN,4,2  ## @DP83811_JABBER_DET_INT_EN
	.comm	_DP83811_POLARITY_INT_EN,4,2    ## @DP83811_POLARITY_INT_EN
	.comm	_DP83811_SLEEP_MODE_INT_EN,4,2  ## @DP83811_SLEEP_MODE_INT_EN
	.comm	_DP83811_OVERTEMP_INT_EN,4,2    ## @DP83811_OVERTEMP_INT_EN
	.comm	_DP83811_OVERVOLTAGE_INT_EN,4,2 ## @DP83811_OVERVOLTAGE_INT_EN
	.comm	_DP83811_UNDERVOLTAGE_INT_EN,4,2 ## @DP83811_UNDERVOLTAGE_INT_EN
	.comm	_MII_DP83811_INT_STAT3,4,2      ## @MII_DP83811_INT_STAT3
	.comm	_DP83811_LPS_INT_EN,4,2         ## @DP83811_LPS_INT_EN
	.comm	_DP83811_NO_FRAME_INT_EN,4,2    ## @DP83811_NO_FRAME_INT_EN
	.comm	_DP83811_POR_DONE_INT_EN,4,2    ## @DP83811_POR_DONE_INT_EN
	.no_dead_strip	_dp83811_config_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dp83811_config_intr
_dp83811_config_intr:                   ; @dp83811_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_DP83811_INT_STAT1@GOTPAGE
Lloh4:
	ldr	x20, [x20, _MII_DP83811_INT_STAT1@GOTPAGEOFF]
	ldr	w1, [x20]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.1:
	bl	_phy_read
	tbnz	w0, #31, LBB0_10
; %bb.2:
Lloh5:
	adrp	x8, _DP83811_RX_ERR_HF_INT_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DP83811_RX_ERR_HF_INT_EN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _DP83811_MS_TRAINING_INT_EN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DP83811_MS_TRAINING_INT_EN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _DP83811_ANEG_COMPLETE_INT_EN@GOTPAGE
Lloh12:
	ldr	x10, [x10, _DP83811_ANEG_COMPLETE_INT_EN@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
Lloh14:
	adrp	x11, _DP83811_ESD_EVENT_INT_EN@GOTPAGE
Lloh15:
	ldr	x11, [x11, _DP83811_ESD_EVENT_INT_EN@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x11]
Lloh17:
	adrp	x12, _DP83811_WOL_INT_EN@GOTPAGE
Lloh18:
	ldr	x12, [x12, _DP83811_WOL_INT_EN@GOTPAGEOFF]
Lloh19:
	ldr	w12, [x12]
Lloh20:
	adrp	x13, _DP83811_LINK_STAT_INT_EN@GOTPAGE
Lloh21:
	ldr	x13, [x13, _DP83811_LINK_STAT_INT_EN@GOTPAGEOFF]
Lloh22:
	ldr	w13, [x13]
Lloh23:
	adrp	x14, _DP83811_ENERGY_DET_INT_EN@GOTPAGE
Lloh24:
	ldr	x14, [x14, _DP83811_ENERGY_DET_INT_EN@GOTPAGEOFF]
Lloh25:
	ldr	w14, [x14]
Lloh26:
	adrp	x15, _DP83811_LINK_QUAL_INT_EN@GOTPAGE
Lloh27:
	ldr	x15, [x15, _DP83811_LINK_QUAL_INT_EN@GOTPAGEOFF]
Lloh28:
	ldr	w15, [x15]
	orr	w8, w8, w0
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w8, w8, w12
	orr	w8, w8, w13
	orr	w8, w8, w14
	orr	w2, w8, w15
	ldr	w1, [x20]
	mov	x0, x19
	bl	_phy_write
	tbnz	w0, #31, LBB0_10
; %bb.3:
Lloh29:
	adrp	x20, _MII_DP83811_INT_STAT2@GOTPAGE
Lloh30:
	ldr	x20, [x20, _MII_DP83811_INT_STAT2@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_phy_read
	tbnz	w0, #31, LBB0_10
; %bb.4:
Lloh31:
	adrp	x8, _DP83811_JABBER_DET_INT_EN@GOTPAGE
Lloh32:
	ldr	x8, [x8, _DP83811_JABBER_DET_INT_EN@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _DP83811_POLARITY_INT_EN@GOTPAGE
Lloh35:
	ldr	x9, [x9, _DP83811_POLARITY_INT_EN@GOTPAGEOFF]
Lloh36:
	adrp	x10, _DP83811_SLEEP_MODE_INT_EN@GOTPAGE
Lloh37:
	ldr	x10, [x10, _DP83811_SLEEP_MODE_INT_EN@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
Lloh39:
	ldr	w10, [x10]
Lloh40:
	adrp	x11, _DP83811_OVERTEMP_INT_EN@GOTPAGE
Lloh41:
	ldr	x11, [x11, _DP83811_OVERTEMP_INT_EN@GOTPAGEOFF]
Lloh42:
	adrp	x12, _DP83811_OVERVOLTAGE_INT_EN@GOTPAGE
Lloh43:
	ldr	x12, [x12, _DP83811_OVERVOLTAGE_INT_EN@GOTPAGEOFF]
Lloh44:
	ldr	w11, [x11]
Lloh45:
	ldr	w12, [x12]
Lloh46:
	adrp	x13, _DP83811_UNDERVOLTAGE_INT_EN@GOTPAGE
Lloh47:
	ldr	x13, [x13, _DP83811_UNDERVOLTAGE_INT_EN@GOTPAGEOFF]
Lloh48:
	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
	bl	_phy_write
	tbnz	w0, #31, LBB0_10
; %bb.5:
Lloh49:
	adrp	x8, _MII_DP83811_INT_STAT3@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MII_DP83811_INT_STAT3@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_phy_read
	tbnz	w0, #31, LBB0_10
; %bb.6:
Lloh52:
	adrp	x8, _DP83811_LPS_INT_EN@GOTPAGE
Lloh53:
	ldr	x8, [x8, _DP83811_LPS_INT_EN@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
Lloh55:
	adrp	x9, _DP83811_NO_FRAME_INT_EN@GOTPAGE
Lloh56:
	ldr	x9, [x9, _DP83811_NO_FRAME_INT_EN@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
Lloh58:
	adrp	x10, _DP83811_POR_DONE_INT_EN@GOTPAGE
Lloh59:
	ldr	x10, [x10, _DP83811_POR_DONE_INT_EN@GOTPAGEOFF]
Lloh60:
	ldr	w10, [x10]
	orr	w8, w8, w0
	orr	w8, w8, w9
	orr	w2, w8, w10
	b	LBB0_9
LBB0_7:
	mov	w2, #0
	bl	_phy_write
	tbnz	w0, #31, LBB0_10
; %bb.8:
Lloh61:
	adrp	x8, _MII_DP83811_INT_STAT2@GOTPAGE
Lloh62:
	ldr	x8, [x8, _MII_DP83811_INT_STAT2@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_phy_write
	mov	w2, #0
	tbnz	w0, #31, LBB0_10
LBB0_9:
Lloh64:
	adrp	x8, _MII_DP83811_INT_STAT3@GOTPAGE
Lloh65:
	ldr	x8, [x8, _MII_DP83811_INT_STAT3@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_phy_write
LBB0_10:
	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	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.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
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh44
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh38
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_INTERRUPT_ENABLED,8,3      ; @PHY_INTERRUPT_ENABLED
	.comm	_MII_DP83811_INT_STAT1,4,2      ; @MII_DP83811_INT_STAT1
	.comm	_DP83811_RX_ERR_HF_INT_EN,4,2   ; @DP83811_RX_ERR_HF_INT_EN
	.comm	_DP83811_MS_TRAINING_INT_EN,4,2 ; @DP83811_MS_TRAINING_INT_EN
	.comm	_DP83811_ANEG_COMPLETE_INT_EN,4,2 ; @DP83811_ANEG_COMPLETE_INT_EN
	.comm	_DP83811_ESD_EVENT_INT_EN,4,2   ; @DP83811_ESD_EVENT_INT_EN
	.comm	_DP83811_WOL_INT_EN,4,2         ; @DP83811_WOL_INT_EN
	.comm	_DP83811_LINK_STAT_INT_EN,4,2   ; @DP83811_LINK_STAT_INT_EN
	.comm	_DP83811_ENERGY_DET_INT_EN,4,2  ; @DP83811_ENERGY_DET_INT_EN
	.comm	_DP83811_LINK_QUAL_INT_EN,4,2   ; @DP83811_LINK_QUAL_INT_EN
	.comm	_MII_DP83811_INT_STAT2,4,2      ; @MII_DP83811_INT_STAT2
	.comm	_DP83811_JABBER_DET_INT_EN,4,2  ; @DP83811_JABBER_DET_INT_EN
	.comm	_DP83811_POLARITY_INT_EN,4,2    ; @DP83811_POLARITY_INT_EN
	.comm	_DP83811_SLEEP_MODE_INT_EN,4,2  ; @DP83811_SLEEP_MODE_INT_EN
	.comm	_DP83811_OVERTEMP_INT_EN,4,2    ; @DP83811_OVERTEMP_INT_EN
	.comm	_DP83811_OVERVOLTAGE_INT_EN,4,2 ; @DP83811_OVERVOLTAGE_INT_EN
	.comm	_DP83811_UNDERVOLTAGE_INT_EN,4,2 ; @DP83811_UNDERVOLTAGE_INT_EN
	.comm	_MII_DP83811_INT_STAT3,4,2      ; @MII_DP83811_INT_STAT3
	.comm	_DP83811_LPS_INT_EN,4,2         ; @DP83811_LPS_INT_EN
	.comm	_DP83811_NO_FRAME_INT_EN,4,2    ; @DP83811_NO_FRAME_INT_EN
	.comm	_DP83811_POR_DONE_INT_EN,4,2    ; @DP83811_POR_DONE_INT_EN
	.no_dead_strip	_dp83811_config_intr
.subsections_via_symbols
