	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8187_write_phy              ## -- Begin function rtl8187_write_phy
	.p2align	4, 0x90
_rtl8187_write_phy:                     ## @rtl8187_write_phy
	.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	%edx, %ecx
	movl	%esi, %r14d
	movq	(%rdi), %rbx
	shll	$8, %ecx
	orl	$128, %r14d
	orl	%r14d, %ecx
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$12, %rsi
	movl	%ecx, %edx
	movl	%ecx, %r15d
	shrl	$24, %edx
	movq	%rbx, %rdi
	callq	_rtl818x_iowrite8
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$8, %rsi
	movl	%r15d, %eax
	shrl	$16, %eax
	movzbl	%al, %edx
	movq	%rbx, %rdi
	callq	_rtl818x_iowrite8
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$4, %rsi
	movl	%r15d, %eax
	movzbl	%ah, %edx
	movq	%rbx, %rdi
	callq	_rtl818x_iowrite8
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	movzbl	%r14b, %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl818x_iowrite8               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8187_write_phy              ; -- Begin function rtl8187_write_phy
	.p2align	2
_rtl8187_write_phy:                     ; @rtl8187_write_phy
	.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	x19, [x0]
	orr	w20, w1, #0x80
	orr	w21, w20, w2, lsl #8
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x1, x8, #12
	lsr	w2, w21, #24
	mov	x0, x19
	bl	_rtl818x_iowrite8
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x1, x8, #8
	ubfx	w2, w21, #16, #8
	mov	x0, x19
	bl	_rtl818x_iowrite8
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x1, x8, #4
	ubfx	w2, w21, #8, #8
	mov	x0, x19
	bl	_rtl818x_iowrite8
	ldr	x8, [x19]
	ldr	x1, [x8]
	and	w2, w20, #0xff
	mov	x0, x19
	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	_rtl818x_iowrite8
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
