	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dp83848_config_intr
_dp83848_config_intr:                   ## @dp83848_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_DP83848_MICR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_phy_read
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	movq	(%r14), %rcx
	movq	_PHY_INTERRUPT_ENABLED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.2:
	movq	_DP83848_MICR_INT_OE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	%eax, %ebx
	movq	_DP83848_MICR_INTEN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_DP83848_MISR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DP83848_INT_EN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_phy_write
	testl	%eax, %eax
	jns	LBB0_5
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_DP83848_MICR_INTEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, %ebx
LBB0_5:
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_phy_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DP83848_MICR,4,2               ## @DP83848_MICR
	.comm	_PHY_INTERRUPT_ENABLED,8,3      ## @PHY_INTERRUPT_ENABLED
	.comm	_DP83848_MICR_INT_OE,4,2        ## @DP83848_MICR_INT_OE
	.comm	_DP83848_MICR_INTEN,4,2         ## @DP83848_MICR_INTEN
	.comm	_DP83848_MISR,4,2               ## @DP83848_MISR
	.comm	_DP83848_INT_EN_MASK,4,2        ## @DP83848_INT_EN_MASK
	.no_dead_strip	_dp83848_config_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dp83848_config_intr
_dp83848_config_intr:                   ; @dp83848_config_intr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x21, _DP83848_MICR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DP83848_MICR@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_phy_read
	mov	x20, x0
	tbnz	w0, #31, LBB0_7
; %bb.1:
	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_4
; %bb.2:
Lloh5:
	adrp	x8, _DP83848_MICR_INT_OE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DP83848_MICR_INT_OE@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
Lloh8:
	adrp	x8, _DP83848_MICR_INTEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DP83848_MICR_INTEN@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
Lloh11:
	adrp	x8, _DP83848_MISR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DP83848_MISR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _DP83848_INT_EN_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DP83848_INT_EN_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_phy_write
	tbnz	w0, #31, LBB0_6
; %bb.3:
	orr	w8, w22, w20
	orr	w2, w8, w23
	b	LBB0_5
LBB0_4:
Lloh17:
	adrp	x8, _DP83848_MICR_INTEN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DP83848_MICR_INTEN@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	bic	w2, w20, w8
LBB0_5:
	ldr	w1, [x21]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_phy_write
LBB0_6:
	mov	x20, x0
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_DP83848_MICR,4,2               ; @DP83848_MICR
	.comm	_PHY_INTERRUPT_ENABLED,8,3      ; @PHY_INTERRUPT_ENABLED
	.comm	_DP83848_MICR_INT_OE,4,2        ; @DP83848_MICR_INT_OE
	.comm	_DP83848_MICR_INTEN,4,2         ; @DP83848_MICR_INTEN
	.comm	_DP83848_MISR,4,2               ; @DP83848_MISR
	.comm	_DP83848_INT_EN_MASK,4,2        ; @DP83848_INT_EN_MASK
	.no_dead_strip	_dp83848_config_intr
.subsections_via_symbols
