	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mdiobb_cmd_addr
_mdiobb_cmd_addr:                       ## @mdiobb_cmd_addr
	.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, %r14d
	movl	%esi, %eax
	movq	%rdi, %rbx
	movzwl	%r14w, %r15d
	shrl	$16, %r14d
	andl	$31, %r14d
	movq	_MDIO_C45_ADDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edx
	movl	%r14d, %ecx
	callq	_mdiobb_cmd
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_mdiobb_send_bit
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_mdiobb_send_bit
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	$16, %edx
	callq	_mdiobb_send_num
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*(%rax)
	movq	%rbx, %rdi
	callq	_mdiobb_get_bit
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_C45_ADDR,4,2              ## @MDIO_C45_ADDR
	.no_dead_strip	_mdiobb_cmd_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mdiobb_cmd_addr
_mdiobb_cmd_addr:                       ; @mdiobb_cmd_addr
	.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
	mov	x8, x1
	mov	x19, x0
	ubfx	w20, w2, #16, #5
	and	w21, w2, #0xffff
Lloh0:
	adrp	x9, _MDIO_C45_ADDR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MDIO_C45_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x2, x8
	mov	x3, x20
	bl	_mdiobb_cmd
	mov	x0, x19
	mov	w1, #1
	bl	_mdiobb_send_bit
	mov	x0, x19
	mov	w1, #0
	bl	_mdiobb_send_bit
	mov	x0, x19
	mov	x1, x21
	mov	w2, #16
	bl	_mdiobb_send_num
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	mov	w1, #0
	blr	x8
	mov	x0, x19
	bl	_mdiobb_get_bit
	mov	x0, x20
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_C45_ADDR,4,2              ; @MDIO_C45_ADDR
	.no_dead_strip	_mdiobb_cmd_addr
.subsections_via_symbols
