	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function disable_phyirq
_disable_phyirq:                        ## @disable_phyirq
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	20(%rax), %r12d
	testl	%r12d, %r12d
	je	LBB0_18
## %bb.1:
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irq
	xorl	%eax, %eax
	callq	_enable_mdi
	movq	(%rbx), %rax
	movq	_MII_DM9161_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_MII_DM9161A_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.4:
	movq	_MII_LXT971A_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movq	%rbx, %r13
	addq	$12, %r13
	movl	12(%rbx), %edi
	movq	_MII_ISINTE_REG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-44(%rbp), %rdx
	callq	_read_phy
	movl	$-243, %edx
	andl	-44(%rbp), %edx
	jmp	LBB0_15
LBB0_18:
	addq	$16, %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_del_timer_sync                 ## TAILCALL
LBB0_3:
	movq	%rbx, %r13
	addq	$12, %r13
	movl	12(%rbx), %edi
	movq	_MII_DSINTR_REG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-44(%rbp), %rdx
	callq	_read_phy
	movl	$3840, %edx                     ## imm = 0xF00
	orl	-44(%rbp), %edx
LBB0_15:
	movl	%edx, -44(%rbp)
LBB0_16:
	movl	(%r13), %edi
	movl	(%rbx), %esi
	callq	_write_phy
LBB0_17:
	xorl	%eax, %eax
	callq	_disable_mdi
	movq	%r15, %rdi
	callq	_spin_unlock_irq
	movl	%r12d, %edi
	movq	%r14, %rsi
	callq	_free_irq
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_MII_BCM5221_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	%rbx, %r13
	addq	$12, %r13
	movl	12(%rbx), %edi
	movq	_MII_BCMINTR_REG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-44(%rbp), %rdx
	callq	_read_phy
	movl	$-16385, -44(%rbp)              ## imm = 0xBFFF
	movl	$-16385, %edx                   ## imm = 0xBFFF
	jmp	LBB0_16
LBB0_9:
	movq	_MII_KS8721_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	%rbx, %r13
	addq	$12, %r13
	movl	12(%rbx), %edi
	movq	_MII_TPISTATUS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-44(%rbp), %rdx
	callq	_read_phy
	movl	$-1281, -44(%rbp)               ## imm = 0xFAFF
	movl	$-1281, %edx                    ## imm = 0xFAFF
	jmp	LBB0_16
LBB0_11:
	movq	_MII_T78Q21x3_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	movq	%rbx, %r13
	addq	$12, %r13
	movl	12(%rbx), %edi
	movq	_MII_T78Q21INT_REG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-44(%rbp), %rdx
	callq	_read_phy
	movl	$-1281, %edx                    ## imm = 0xFAFF
	andl	-44(%rbp), %edx
	jmp	LBB0_15
LBB0_13:
	movq	_MII_DP83848_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.14:
	movq	%rbx, %r13
	addq	$12, %r13
	movl	12(%rbx), %edi
	movq	_MII_DPMICR_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_read_phy
	movl	-44(%rbp), %edx
	andl	$-4, %edx
	movl	%edx, -44(%rbp)
	movl	12(%rbx), %edi
	movq	_MII_DPMICR_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_phy
	movl	12(%rbx), %edi
	movq	_MII_DPMISR_REG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-44(%rbp), %rdx
	callq	_read_phy
	movl	-44(%rbp), %edx
	andl	$-61, %edx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_MII_DM9161_ID,8,3              ## @MII_DM9161_ID
	.comm	_MII_DM9161A_ID,8,3             ## @MII_DM9161A_ID
	.comm	_MII_DSINTR_REG,4,2             ## @MII_DSINTR_REG
	.comm	_MII_LXT971A_ID,8,3             ## @MII_LXT971A_ID
	.comm	_MII_ISINTE_REG,4,2             ## @MII_ISINTE_REG
	.comm	_MII_BCM5221_ID,8,3             ## @MII_BCM5221_ID
	.comm	_MII_BCMINTR_REG,4,2            ## @MII_BCMINTR_REG
	.comm	_MII_KS8721_ID,8,3              ## @MII_KS8721_ID
	.comm	_MII_TPISTATUS,4,2              ## @MII_TPISTATUS
	.comm	_MII_T78Q21x3_ID,8,3            ## @MII_T78Q21x3_ID
	.comm	_MII_T78Q21INT_REG,4,2          ## @MII_T78Q21INT_REG
	.comm	_MII_DP83848_ID,8,3             ## @MII_DP83848_ID
	.comm	_MII_DPMICR_REG,4,2             ## @MII_DPMICR_REG
	.comm	_MII_DPMISR_REG,4,2             ## @MII_DPMISR_REG
	.no_dead_strip	_disable_phyirq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function disable_phyirq
_disable_phyirq:                        ; @disable_phyirq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	bl	_netdev_priv
	mov	x22, x0
	ldr	w20, [x0, #20]
	cbz	w20, LBB0_3
; %bb.1:
	add	x21, x22, #8
	mov	x0, x21
	bl	_spin_lock_irq
	bl	_enable_mdi
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _MII_DM9161_ID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MII_DM9161_ID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _MII_DM9161A_ID@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MII_DM9161A_ID@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [x22, #12]!
Lloh6:
	adrp	x23, _MII_DSINTR_REG@GOTPAGE
Lloh7:
	ldr	x23, [x23, _MII_DSINTR_REG@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #12
	bl	_read_phy
	ldr	w8, [sp, #12]
	orr	w2, w8, #0xf00
	b	LBB0_14
LBB0_3:
	add	x0, x22, #16
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_del_timer_sync
LBB0_4:
Lloh8:
	adrp	x9, _MII_LXT971A_ID@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MII_LXT971A_ID@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	w0, [x22, #12]!
Lloh11:
	adrp	x23, _MII_ISINTE_REG@GOTPAGE
Lloh12:
	ldr	x23, [x23, _MII_ISINTE_REG@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #12
	bl	_read_phy
	ldr	w8, [sp, #12]
	mov	w9, #-243
	and	w2, w8, w9
	b	LBB0_14
LBB0_6:
Lloh13:
	adrp	x9, _MII_BCM5221_ID@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MII_BCM5221_ID@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	w0, [x22, #12]!
Lloh16:
	adrp	x23, _MII_BCMINTR_REG@GOTPAGE
Lloh17:
	ldr	x23, [x23, _MII_BCMINTR_REG@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #12
	bl	_read_phy
	mov	w2, #-16385
	b	LBB0_14
LBB0_8:
Lloh18:
	adrp	x9, _MII_KS8721_ID@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MII_KS8721_ID@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
	ldr	w0, [x22, #12]!
Lloh21:
	adrp	x23, _MII_TPISTATUS@GOTPAGE
Lloh22:
	ldr	x23, [x23, _MII_TPISTATUS@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #12
	bl	_read_phy
	mov	w2, #-1281
	b	LBB0_14
LBB0_10:
Lloh23:
	adrp	x9, _MII_T78Q21x3_ID@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MII_T78Q21x3_ID@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.11:
	ldr	w0, [x22, #12]!
Lloh26:
	adrp	x23, _MII_T78Q21INT_REG@GOTPAGE
Lloh27:
	ldr	x23, [x23, _MII_T78Q21INT_REG@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #12
	bl	_read_phy
	ldr	w8, [sp, #12]
	mov	w9, #-1281
	and	w2, w8, w9
	b	LBB0_14
LBB0_12:
Lloh28:
	adrp	x9, _MII_DP83848_ID@GOTPAGE
Lloh29:
	ldr	x9, [x9, _MII_DP83848_ID@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.13:
	ldr	w0, [x22, #12]!
Lloh31:
	adrp	x23, _MII_DPMICR_REG@GOTPAGE
Lloh32:
	ldr	x23, [x23, _MII_DPMICR_REG@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #12
	bl	_read_phy
	ldr	w8, [sp, #12]
	and	w2, w8, #0xfffffffc
	str	w2, [sp, #12]
	ldr	w0, [x22]
	ldr	w1, [x23]
	bl	_write_phy
	ldr	w0, [x22]
Lloh33:
	adrp	x23, _MII_DPMISR_REG@GOTPAGE
Lloh34:
	ldr	x23, [x23, _MII_DPMISR_REG@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #12
	bl	_read_phy
	ldr	w8, [sp, #12]
	and	w2, w8, #0xffffffc3
LBB0_14:
	str	w2, [sp, #12]
	ldr	w0, [x22]
	ldr	w1, [x23]
	bl	_write_phy
LBB0_15:
	bl	_disable_mdi
	mov	x0, x21
	bl	_spin_unlock_irq
	mov	x0, x20
	mov	x1, x19
	bl	_free_irq
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_MII_DM9161_ID,8,3              ; @MII_DM9161_ID
	.comm	_MII_DM9161A_ID,8,3             ; @MII_DM9161A_ID
	.comm	_MII_DSINTR_REG,4,2             ; @MII_DSINTR_REG
	.comm	_MII_LXT971A_ID,8,3             ; @MII_LXT971A_ID
	.comm	_MII_ISINTE_REG,4,2             ; @MII_ISINTE_REG
	.comm	_MII_BCM5221_ID,8,3             ; @MII_BCM5221_ID
	.comm	_MII_BCMINTR_REG,4,2            ; @MII_BCMINTR_REG
	.comm	_MII_KS8721_ID,8,3              ; @MII_KS8721_ID
	.comm	_MII_TPISTATUS,4,2              ; @MII_TPISTATUS
	.comm	_MII_T78Q21x3_ID,8,3            ; @MII_T78Q21x3_ID
	.comm	_MII_T78Q21INT_REG,4,2          ; @MII_T78Q21INT_REG
	.comm	_MII_DP83848_ID,8,3             ; @MII_DP83848_ID
	.comm	_MII_DPMICR_REG,4,2             ; @MII_DPMICR_REG
	.comm	_MII_DPMISR_REG,4,2             ; @MII_DPMISR_REG
	.no_dead_strip	_disable_phyirq
.subsections_via_symbols
