	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_enet_mdio_write
_bcm_enet_mdio_write:                   ## @bcm_enet_mdio_write
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movzwl	%cx, %r8d
	movq	_ENET_MIIDATA_DATA_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r8d
	movq	_ENET_MIIDATA_TA_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$2, %eax
	shll	%cl, %eax
	movq	_ENET_MIIDATA_REG_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	orl	%r8d, %eax
	movq	_ENET_MIIDATA_PHYID_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%edx, %esi
	orl	%eax, %esi
	movq	_ENET_MIIDATA_OP_WRITE_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_do_mdio_op
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENET_MIIDATA_DATA_SHIFT,4,2    ## @ENET_MIIDATA_DATA_SHIFT
	.comm	_ENET_MIIDATA_TA_SHIFT,4,2      ## @ENET_MIIDATA_TA_SHIFT
	.comm	_ENET_MIIDATA_REG_SHIFT,4,2     ## @ENET_MIIDATA_REG_SHIFT
	.comm	_ENET_MIIDATA_PHYID_SHIFT,4,2   ## @ENET_MIIDATA_PHYID_SHIFT
	.comm	_ENET_MIIDATA_OP_WRITE_MASK,4,2 ## @ENET_MIIDATA_OP_WRITE_MASK
	.no_dead_strip	_bcm_enet_mdio_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_enet_mdio_write
_bcm_enet_mdio_write:                   ; @bcm_enet_mdio_write
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	and	w8, w3, #0xffff
Lloh0:
	adrp	x9, _ENET_MIIDATA_DATA_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ENET_MIIDATA_DATA_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh3:
	adrp	x9, _ENET_MIIDATA_TA_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ENET_MIIDATA_TA_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mov	w10, #2
	lsl	w9, w10, w9
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _ENET_MIIDATA_REG_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ENET_MIIDATA_REG_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w9, w2, w9
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _ENET_MIIDATA_PHYID_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ENET_MIIDATA_PHYID_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	lsl	w9, w1, w9
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _ENET_MIIDATA_OP_WRITE_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ENET_MIIDATA_OP_WRITE_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_do_mdio_op
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENET_MIIDATA_DATA_SHIFT,4,2    ; @ENET_MIIDATA_DATA_SHIFT
	.comm	_ENET_MIIDATA_TA_SHIFT,4,2      ; @ENET_MIIDATA_TA_SHIFT
	.comm	_ENET_MIIDATA_REG_SHIFT,4,2     ; @ENET_MIIDATA_REG_SHIFT
	.comm	_ENET_MIIDATA_PHYID_SHIFT,4,2   ; @ENET_MIIDATA_PHYID_SHIFT
	.comm	_ENET_MIIDATA_OP_WRITE_MASK,4,2 ; @ENET_MIIDATA_OP_WRITE_MASK
	.no_dead_strip	_bcm_enet_mdio_write
.subsections_via_symbols
