	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jme_mac_txclk_on
_jme_mac_txclk_on:                      ## @jme_mac_txclk_on
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_GHC_SPEED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andq	%rax, %rcx
	movq	_GHC_SPEED_1000M@GOTPCREL(%rip), %r8
	movq	_GHC_TO_CLK_GPHY@GOTPCREL(%rip), %r10
	movq	_GHC_TO_CLK_PCIE@GOTPCREL(%rip), %r9
	movq	_GHC_TXMAC_CLK_GPHY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_GHC_TXMAC_CLK_PCIE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%r10), %edx
	orl	(%r9), %esi
	cmpq	(%r8), %rcx
	cmovel	%edx, %esi
	movslq	%esi, %rdx
	orq	%rax, %rdx
	movq	%rdx, (%rdi)
	movq	_JME_GHC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
                                        ## kill: def $edx killed $edx killed $rdx
	popq	%rbp
	jmp	_jwrite32f                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GHC_SPEED,8,3                  ## @GHC_SPEED
	.comm	_GHC_SPEED_1000M,8,3            ## @GHC_SPEED_1000M
	.comm	_GHC_TO_CLK_GPHY,4,2            ## @GHC_TO_CLK_GPHY
	.comm	_GHC_TXMAC_CLK_GPHY,4,2         ## @GHC_TXMAC_CLK_GPHY
	.comm	_GHC_TO_CLK_PCIE,4,2            ## @GHC_TO_CLK_PCIE
	.comm	_GHC_TXMAC_CLK_PCIE,4,2         ## @GHC_TXMAC_CLK_PCIE
	.comm	_JME_GHC,4,2                    ## @JME_GHC
	.no_dead_strip	_jme_mac_txclk_on
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jme_mac_txclk_on
_jme_mac_txclk_on:                      ; @jme_mac_txclk_on
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _GHC_SPEED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GHC_SPEED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	and	x9, x9, x8
Lloh3:
	adrp	x10, _GHC_SPEED_1000M@GOTPAGE
Lloh4:
	ldr	x10, [x10, _GHC_SPEED_1000M@GOTPAGEOFF]
Lloh5:
	adrp	x11, _GHC_TO_CLK_GPHY@GOTPAGE
Lloh6:
	ldr	x11, [x11, _GHC_TO_CLK_GPHY@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
Lloh8:
	ldr	w11, [x11]
Lloh9:
	adrp	x12, _GHC_TO_CLK_PCIE@GOTPAGE
Lloh10:
	ldr	x12, [x12, _GHC_TO_CLK_PCIE@GOTPAGEOFF]
Lloh11:
	adrp	x13, _GHC_TXMAC_CLK_GPHY@GOTPAGE
Lloh12:
	ldr	x13, [x13, _GHC_TXMAC_CLK_GPHY@GOTPAGEOFF]
Lloh13:
	ldr	w12, [x12]
Lloh14:
	ldr	w13, [x13]
Lloh15:
	adrp	x14, _GHC_TXMAC_CLK_PCIE@GOTPAGE
Lloh16:
	ldr	x14, [x14, _GHC_TXMAC_CLK_PCIE@GOTPAGEOFF]
Lloh17:
	ldr	w14, [x14]
	orr	w11, w13, w11
	orr	w12, w14, w12
	cmp	x9, x10
	csel	w9, w11, w12, eq
	sxtw	x9, w9
	orr	x2, x8, x9
	str	x2, [x0]
Lloh18:
	adrp	x8, _JME_GHC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _JME_GHC@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
                                        ; kill: def $w2 killed $w2 killed $x2
	b	_jwrite32f
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GHC_SPEED,8,3                  ; @GHC_SPEED
	.comm	_GHC_SPEED_1000M,8,3            ; @GHC_SPEED_1000M
	.comm	_GHC_TO_CLK_GPHY,4,2            ; @GHC_TO_CLK_GPHY
	.comm	_GHC_TXMAC_CLK_GPHY,4,2         ; @GHC_TXMAC_CLK_GPHY
	.comm	_GHC_TO_CLK_PCIE,4,2            ; @GHC_TO_CLK_PCIE
	.comm	_GHC_TXMAC_CLK_PCIE,4,2         ; @GHC_TXMAC_CLK_PCIE
	.comm	_JME_GHC,4,2                    ; @JME_GHC
	.no_dead_strip	_jme_mac_txclk_on
.subsections_via_symbols
