	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function txc_glrgs_lane_power
_txc_glrgs_lane_power:                  ## @txc_glrgs_lane_power
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_TXC_GLCMD_L01PD_LBN@GOTPCREL(%rip), %rax
	movq	_TXC_GLCMD_L23PD_LBN@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %ebx
	shll	%cl, %ebx
	movb	(%rax), %al
	btsl	%eax, %ebx
	movq	_TXC_GLRGS_GLCMD@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_ef4_mdio_read
	movq	_PHY_MODE_LOW_POWER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%r15), %ecx
	movl	%eax, %edx
	orl	%ebx, %edx
	notl	%ebx
	andl	%eax, %ebx
	testl	%ecx, %ecx
	cmovnel	%edx, %ebx
	movl	(%r12), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ef4_mdio_write                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TXC_GLCMD_L01PD_LBN,4,2        ## @TXC_GLCMD_L01PD_LBN
	.comm	_TXC_GLCMD_L23PD_LBN,4,2        ## @TXC_GLCMD_L23PD_LBN
	.comm	_TXC_GLRGS_GLCMD,4,2            ## @TXC_GLRGS_GLCMD
	.comm	_PHY_MODE_LOW_POWER,4,2         ## @PHY_MODE_LOW_POWER
	.no_dead_strip	_txc_glrgs_lane_power
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function txc_glrgs_lane_power
_txc_glrgs_lane_power:                  ; @txc_glrgs_lane_power
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _TXC_GLCMD_L01PD_LBN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TXC_GLCMD_L01PD_LBN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh3:
	adrp	x10, _TXC_GLCMD_L23PD_LBN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TXC_GLCMD_L23PD_LBN@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w21, w9, w8
Lloh6:
	adrp	x22, _TXC_GLRGS_GLCMD@GOTPAGE
Lloh7:
	ldr	x22, [x22, _TXC_GLRGS_GLCMD@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_ef4_mdio_read
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _PHY_MODE_LOW_POWER@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PHY_MODE_LOW_POWER@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w10, w0, w21
	bic	w11, w0, w21
	tst	w9, w8
	csel	w3, w11, w10, eq
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, 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	_ef4_mdio_write
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TXC_GLCMD_L01PD_LBN,4,2        ; @TXC_GLCMD_L01PD_LBN
	.comm	_TXC_GLCMD_L23PD_LBN,4,2        ; @TXC_GLCMD_L23PD_LBN
	.comm	_TXC_GLRGS_GLCMD,4,2            ; @TXC_GLRGS_GLCMD
	.comm	_PHY_MODE_LOW_POWER,4,2         ; @PHY_MODE_LOW_POWER
	.no_dead_strip	_txc_glrgs_lane_power
.subsections_via_symbols
