	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7530_mii_write
_mt7530_mii_write:                      ## @mt7530_mii_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MT753X_NUM_PHYS@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jle	LBB0_2
## %bb.1:
	addl	(%rdi), %esi
	movq	_MT753X_SMI_ADDR_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
LBB0_2:
	movl	4(%rdi), %edi
	popq	%rbp
	jmp	_mdiobus_write                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT753X_NUM_PHYS,4,2            ## @MT753X_NUM_PHYS
	.comm	_MT753X_SMI_ADDR_MASK,4,2       ## @MT753X_SMI_ADDR_MASK
	.no_dead_strip	_mt7530_mii_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7530_mii_write
_mt7530_mii_write:                      ; @mt7530_mii_write
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MT753X_NUM_PHYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT753X_NUM_PHYS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.le	LBB0_2
; %bb.1:
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _MT753X_SMI_ADDR_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MT753X_SMI_ADDR_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w8, w8, w1
	and	w1, w8, w9
LBB0_2:
	ldr	w0, [x0, #4]
	b	_mdiobus_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MT753X_NUM_PHYS,4,2            ; @MT753X_NUM_PHYS
	.comm	_MT753X_SMI_ADDR_MASK,4,2       ; @MT753X_SMI_ADDR_MASK
	.no_dead_strip	_mt7530_mii_write
.subsections_via_symbols
