	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sky2_set_tx_stfwd
_sky2_set_tx_stfwd:                     ## @sky2_set_tx_stfwd
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rcx
	movq	16(%rdi), %rax
	movl	%esi, %edx
	movq	(%rax,%rdx,8), %rax
	movq	_CHIP_ID_YUKON_EX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.1:
	movq	8(%rbx), %rdx
	movq	_CHIP_REV_YU_EX_A0@GOTPCREL(%rip), %rsi
	movq	_TX_STFW_ENA@GOTPCREL(%rip), %r15
	cmpq	(%rsi), %rdx
	jne	LBB0_8
## %bb.2:
	movq	_CHIP_ID_YUKON_FE_P@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jl	LBB0_4
	jmp	LBB0_8
LBB0_3:
	movq	_CHIP_ID_YUKON_FE_P@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jge	LBB0_7
LBB0_4:
	movq	(%rax), %rax
	movq	_ETH_DATA_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_7
## %bb.5:
	movq	_TX_GMF_AE_THR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_SK_REG
	movq	_ECU_JUMBO_WM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	shll	$16, %edx
	movq	_ECU_AE_THR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_sky2_write32
	movq	_TX_STFW_DIS@GOTPCREL(%rip), %r15
	jmp	LBB0_8
LBB0_7:
	movq	_TX_STFW_ENA@GOTPCREL(%rip), %r15
LBB0_8:
	movq	_TX_GMF_CTRL_T@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_SK_REG
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sky2_write32                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CHIP_ID_YUKON_EX,8,3           ## @CHIP_ID_YUKON_EX
	.comm	_CHIP_REV_YU_EX_A0,8,3          ## @CHIP_REV_YU_EX_A0
	.comm	_CHIP_ID_YUKON_FE_P,8,3         ## @CHIP_ID_YUKON_FE_P
	.comm	_TX_GMF_CTRL_T,4,2              ## @TX_GMF_CTRL_T
	.comm	_TX_STFW_ENA,4,2                ## @TX_STFW_ENA
	.comm	_ETH_DATA_LEN,8,3               ## @ETH_DATA_LEN
	.comm	_TX_GMF_AE_THR,4,2              ## @TX_GMF_AE_THR
	.comm	_ECU_JUMBO_WM,4,2               ## @ECU_JUMBO_WM
	.comm	_ECU_AE_THR,4,2                 ## @ECU_AE_THR
	.comm	_TX_STFW_DIS,4,2                ## @TX_STFW_DIS
	.no_dead_strip	_sky2_set_tx_stfwd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sky2_set_tx_stfwd
_sky2_set_tx_stfwd:                     ; @sky2_set_tx_stfwd
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x8, [x8, w1, uxtw #3]
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _CHIP_ID_YUKON_EX@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CHIP_ID_YUKON_EX@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	ldr	x10, [x19, #8]
Lloh3:
	adrp	x11, _CHIP_REV_YU_EX_A0@GOTPAGE
Lloh4:
	ldr	x11, [x11, _CHIP_REV_YU_EX_A0@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
Lloh6:
	adrp	x12, _CHIP_ID_YUKON_FE_P@GOTPAGE
Lloh7:
	ldr	x12, [x12, _CHIP_ID_YUKON_FE_P@GOTPAGEOFF]
Lloh8:
	ldr	x12, [x12]
	cmp	x10, x11
	ccmp	x9, x12, #0, eq
	b.lt	LBB0_3
	b	LBB0_5
LBB0_2:
Lloh9:
	adrp	x10, _CHIP_ID_YUKON_FE_P@GOTPAGE
Lloh10:
	ldr	x10, [x10, _CHIP_ID_YUKON_FE_P@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ge	LBB0_5
LBB0_3:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _ETH_DATA_LEN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ETH_DATA_LEN@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_5
; %bb.4:
Lloh15:
	adrp	x8, _TX_GMF_AE_THR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TX_GMF_AE_THR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_SK_REG
	mov	x1, x0
Lloh18:
	adrp	x8, _ECU_JUMBO_WM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ECU_JUMBO_WM@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _ECU_AE_THR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ECU_AE_THR@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w2, w9, w8, lsl #16
	mov	x0, x19
	bl	_sky2_write32
Lloh24:
	adrp	x21, _TX_STFW_DIS@GOTPAGE
Lloh25:
	ldr	x21, [x21, _TX_STFW_DIS@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh26:
	adrp	x21, _TX_STFW_ENA@GOTPAGE
Lloh27:
	ldr	x21, [x21, _TX_STFW_ENA@GOTPAGEOFF]
LBB0_6:
Lloh28:
	adrp	x8, _TX_GMF_CTRL_T@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TX_GMF_CTRL_T@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_SK_REG
	mov	x1, x0
	ldr	w2, [x21]
	mov	x0, 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	_sky2_write32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_CHIP_ID_YUKON_EX,8,3           ; @CHIP_ID_YUKON_EX
	.comm	_CHIP_REV_YU_EX_A0,8,3          ; @CHIP_REV_YU_EX_A0
	.comm	_CHIP_ID_YUKON_FE_P,8,3         ; @CHIP_ID_YUKON_FE_P
	.comm	_TX_GMF_CTRL_T,4,2              ; @TX_GMF_CTRL_T
	.comm	_TX_STFW_ENA,4,2                ; @TX_STFW_ENA
	.comm	_ETH_DATA_LEN,8,3               ; @ETH_DATA_LEN
	.comm	_TX_GMF_AE_THR,4,2              ; @TX_GMF_AE_THR
	.comm	_ECU_JUMBO_WM,4,2               ; @ECU_JUMBO_WM
	.comm	_ECU_AE_THR,4,2                 ; @ECU_AE_THR
	.comm	_TX_STFW_DIS,4,2                ; @TX_STFW_DIS
	.no_dead_strip	_sky2_set_tx_stfwd
.subsections_via_symbols
