	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ltq_etop_mdio_wr
_ltq_etop_mdio_wr:                      ## @ltq_etop_mdio_wr
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	_MDIO_REQUEST@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	_MDIO_ADDR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_MDIO_ADDR_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_MDIO_REG_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_MDIO_REG_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_LTQ_ETOP_MDIO@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	callq	_ltq_etop_r32
	testl	%eax, (%r14)
	jne	LBB0_1
## %bb.2:
	andl	-52(%rbp), %r15d                ## 4-byte Folded Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r15d
	andl	-56(%rbp), %r12d                ## 4-byte Folded Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r12d
	orl	-60(%rbp), %ebx                 ## 4-byte Folded Reload
	orl	%r15d, %ebx
	orl	%r12d, %ebx
	movl	(%r13), %esi
	movl	%ebx, %edi
	callq	_ltq_etop_w32
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_REQUEST,4,2               ## @MDIO_REQUEST
	.comm	_MDIO_ADDR_MASK,4,2             ## @MDIO_ADDR_MASK
	.comm	_MDIO_ADDR_OFFSET,4,2           ## @MDIO_ADDR_OFFSET
	.comm	_MDIO_REG_MASK,4,2              ## @MDIO_REG_MASK
	.comm	_MDIO_REG_OFFSET,4,2            ## @MDIO_REG_OFFSET
	.comm	_LTQ_ETOP_MDIO,4,2              ## @LTQ_ETOP_MDIO
	.no_dead_strip	_ltq_etop_mdio_wr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ltq_etop_mdio_wr
_ltq_etop_mdio_wr:                      ; @ltq_etop_mdio_wr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x23, _MDIO_REQUEST@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MDIO_REQUEST@GOTPAGEOFF]
	ldr	w22, [x23]
Lloh2:
	adrp	x8, _MDIO_ADDR_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MDIO_ADDR_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w24, [x8]
Lloh5:
	adrp	x8, _MDIO_ADDR_OFFSET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MDIO_ADDR_OFFSET@GOTPAGEOFF]
Lloh7:
	ldr	w26, [x8]
Lloh8:
	adrp	x8, _MDIO_REG_MASK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MDIO_REG_MASK@GOTPAGEOFF]
Lloh10:
	ldr	w27, [x8]
Lloh11:
	adrp	x8, _MDIO_REG_OFFSET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MDIO_REG_OFFSET@GOTPAGEOFF]
Lloh13:
	ldr	w28, [x8]
Lloh14:
	adrp	x25, _LTQ_ETOP_MDIO@GOTPAGE
Lloh15:
	ldr	x25, [x25, _LTQ_ETOP_MDIO@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25]
	bl	_ltq_etop_r32
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_1
; %bb.2:
	and	w8, w24, w21
	lsl	w8, w8, w26
	and	w9, w27, w20
	lsl	w9, w9, w28
	orr	w10, w22, w19
	orr	w8, w10, w8
	orr	w0, w8, w9
	ldr	w1, [x25]
	bl	_ltq_etop_w32
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_REQUEST,4,2               ; @MDIO_REQUEST
	.comm	_MDIO_ADDR_MASK,4,2             ; @MDIO_ADDR_MASK
	.comm	_MDIO_ADDR_OFFSET,4,2           ; @MDIO_ADDR_OFFSET
	.comm	_MDIO_REG_MASK,4,2              ; @MDIO_REG_MASK
	.comm	_MDIO_REG_OFFSET,4,2            ; @MDIO_REG_OFFSET
	.comm	_LTQ_ETOP_MDIO,4,2              ; @LTQ_ETOP_MDIO
	.no_dead_strip	_ltq_etop_mdio_wr
.subsections_via_symbols
