	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mii_sendbit
_mii_sendbit:                           ## @mii_sendbit
	.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
	movl	%esi, %ebx
	movq	_PhyCtrl@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	addq	(%rdi), %r14
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_MII_DATA1@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	movq	_MII_WRITE@GOTPCREL(%rip), %r15
	orl	(%r15), %ebx
	movq	%r14, %rdi
	callq	_readb
	andl	$248, %eax
	orl	(%r15), %ebx
	orl	%eax, %ebx
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_writeb
	xorl	%eax, %eax
	callq	_mii_delay
	movq	_MII_CLK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_writeb
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mii_delay                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PhyCtrl,8,3                    ## @PhyCtrl
	.comm	_MII_DATA1,4,2                  ## @MII_DATA1
	.comm	_MII_WRITE,4,2                  ## @MII_WRITE
	.comm	_MII_CLK,4,2                    ## @MII_CLK
	.no_dead_strip	_mii_sendbit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mii_sendbit
_mii_sendbit:                           ; @mii_sendbit
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PhyCtrl@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PhyCtrl@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x19, x9, x8
Lloh3:
	adrp	x8, _MII_DATA1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MII_DATA1@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w1, #0
	csel	w20, wzr, w8, eq
Lloh6:
	adrp	x21, _MII_WRITE@GOTPAGE
Lloh7:
	ldr	x21, [x21, _MII_WRITE@GOTPAGEOFF]
	ldr	w22, [x21]
	mov	x0, x19
	bl	_readb
	and	w8, w0, #0xf8
	ldr	w9, [x21]
	orr	w10, w20, w22
	orr	w9, w10, w9
	orr	w20, w9, w8
	mov	x0, x20
	mov	x1, x19
	bl	_writeb
	bl	_mii_delay
Lloh8:
	adrp	x8, _MII_CLK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MII_CLK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	orr	w0, w8, w20
	mov	x1, x19
	bl	_writeb
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mii_delay
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PhyCtrl,8,3                    ; @PhyCtrl
	.comm	_MII_DATA1,4,2                  ; @MII_DATA1
	.comm	_MII_WRITE,4,2                  ; @MII_WRITE
	.comm	_MII_CLK,4,2                    ; @MII_CLK
	.no_dead_strip	_mii_sendbit
.subsections_via_symbols
