	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __b44_writephy
___b44_writephy:                        ## @__b44_writephy
	.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
	movl	%ecx, %ebx
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_B44_EMAC_ISTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EMAC_INT_MII@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	callq	_bw32
	movq	_MDIO_DATA_SB_START@GOTPCREL(%rip), %rdx
	movq	_MDIO_OP_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MDIO_DATA_OP_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	(%rdx), %eax
	movq	_MDIO_DATA_PMD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r12d
	movq	_MDIO_DATA_RA_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r15d
	movq	_B44_MDIO_DATA@GOTPCREL(%rip), %rdx
	movq	_MDIO_TA_VALID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_MDIO_DATA_TA_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	movl	(%rdx), %esi
	orl	%r12d, %r15d
	orl	%r15d, %edi
	movq	_MDIO_DATA_DATA@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	orl	%edi, %ebx
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_bw32
	movq	_B44_EMAC_ISTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	$100, %ecx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_b44_wait_bit                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B44_EMAC_ISTAT,4,2             ## @B44_EMAC_ISTAT
	.comm	_EMAC_INT_MII,4,2               ## @EMAC_INT_MII
	.comm	_B44_MDIO_DATA,4,2              ## @B44_MDIO_DATA
	.comm	_MDIO_DATA_SB_START,4,2         ## @MDIO_DATA_SB_START
	.comm	_MDIO_OP_WRITE,4,2              ## @MDIO_OP_WRITE
	.comm	_MDIO_DATA_OP_SHIFT,4,2         ## @MDIO_DATA_OP_SHIFT
	.comm	_MDIO_DATA_PMD_SHIFT,4,2        ## @MDIO_DATA_PMD_SHIFT
	.comm	_MDIO_DATA_RA_SHIFT,4,2         ## @MDIO_DATA_RA_SHIFT
	.comm	_MDIO_TA_VALID,4,2              ## @MDIO_TA_VALID
	.comm	_MDIO_DATA_TA_SHIFT,4,2         ## @MDIO_DATA_TA_SHIFT
	.comm	_MDIO_DATA_DATA,4,2             ## @MDIO_DATA_DATA
	.no_dead_strip	___b44_writephy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __b44_writephy
___b44_writephy:                        ; @__b44_writephy
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _B44_EMAC_ISTAT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _B44_EMAC_ISTAT@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh2:
	adrp	x24, _EMAC_INT_MII@GOTPAGE
Lloh3:
	ldr	x24, [x24, _EMAC_INT_MII@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_bw32
Lloh4:
	adrp	x8, _B44_MDIO_DATA@GOTPAGE
Lloh5:
	ldr	x8, [x8, _B44_MDIO_DATA@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _MDIO_DATA_SB_START@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MDIO_DATA_SB_START@GOTPAGEOFF]
Lloh9:
	adrp	x9, _MDIO_OP_WRITE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MDIO_OP_WRITE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	ldr	w9, [x9]
Lloh13:
	adrp	x10, _MDIO_DATA_OP_SHIFT@GOTPAGE
Lloh14:
	ldr	x10, [x10, _MDIO_DATA_OP_SHIFT@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w9, w8
Lloh16:
	adrp	x9, _MDIO_DATA_PMD_SHIFT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _MDIO_DATA_PMD_SHIFT@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w8, w8, w9
Lloh19:
	adrp	x9, _MDIO_DATA_RA_SHIFT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MDIO_DATA_RA_SHIFT@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	lsl	w9, w20, w9
Lloh22:
	adrp	x10, _MDIO_TA_VALID@GOTPAGE
Lloh23:
	ldr	x10, [x10, _MDIO_TA_VALID@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh24:
	ldr	w9, [x10]
Lloh25:
	adrp	x10, _MDIO_DATA_TA_SHIFT@GOTPAGE
Lloh26:
	ldr	x10, [x10, _MDIO_DATA_TA_SHIFT@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w8, w8, w9
Lloh28:
	adrp	x9, _MDIO_DATA_DATA@GOTPAGE
Lloh29:
	ldr	x9, [x9, _MDIO_DATA_DATA@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	and	w9, w9, w19
	orr	w2, w8, w9
	mov	x0, x22
	bl	_bw32
	ldr	w1, [x23]
	ldr	w2, [x24]
	mov	x0, x22
	mov	w3, #100
	mov	w4, #0
	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	_b44_wait_bit
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_B44_EMAC_ISTAT,4,2             ; @B44_EMAC_ISTAT
	.comm	_EMAC_INT_MII,4,2               ; @EMAC_INT_MII
	.comm	_B44_MDIO_DATA,4,2              ; @B44_MDIO_DATA
	.comm	_MDIO_DATA_SB_START,4,2         ; @MDIO_DATA_SB_START
	.comm	_MDIO_OP_WRITE,4,2              ; @MDIO_OP_WRITE
	.comm	_MDIO_DATA_OP_SHIFT,4,2         ; @MDIO_DATA_OP_SHIFT
	.comm	_MDIO_DATA_PMD_SHIFT,4,2        ; @MDIO_DATA_PMD_SHIFT
	.comm	_MDIO_DATA_RA_SHIFT,4,2         ; @MDIO_DATA_RA_SHIFT
	.comm	_MDIO_TA_VALID,4,2              ; @MDIO_TA_VALID
	.comm	_MDIO_DATA_TA_SHIFT,4,2         ; @MDIO_DATA_TA_SHIFT
	.comm	_MDIO_DATA_DATA,4,2             ; @MDIO_DATA_DATA
	.no_dead_strip	___b44_writephy
.subsections_via_symbols
