	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hw_atl_b0_hw_init_tx_path
_hw_atl_b0_hw_init_tx_path:             ## @hw_atl_b0_hw_init_tx_path
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$1, %esi
	callq	_hw_atl_rpb_tps_tx_tc_mode_set
	movq	%rbx, %rdi
	movl	$4086, %esi                     ## imm = 0xFF6
	callq	_hw_atl_thm_lso_tcp_flag_of_first_pkt_set
	movq	%rbx, %rdi
	movl	$4086, %esi                     ## imm = 0xFF6
	callq	_hw_atl_thm_lso_tcp_flag_of_middle_pkt_set
	movq	%rbx, %rdi
	movl	$3967, %esi                     ## imm = 0xF7F
	callq	_hw_atl_thm_lso_tcp_flag_of_last_pkt_set
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_hw_atl_tdm_tx_desc_wr_wb_irq_en_set
	movq	_TPO2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_CHIP_FEATURE
	xorl	%edx, %edx
	testq	%rax, %rax
	setne	%dl
	shll	$16, %edx
	movq	%rbx, %rdi
	movl	$28736, %esi                    ## imm = 0x7040
	callq	_aq_hw_write_reg
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_hw_atl_tdm_tx_dca_en_set
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_hw_atl_tdm_tx_dca_mode_set
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_hw_atl_tpb_tx_path_scp_ins_en_set
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_aq_hw_err_from_flags           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TPO2,4,2                       ## @TPO2
	.no_dead_strip	_hw_atl_b0_hw_init_tx_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hw_atl_b0_hw_init_tx_path
_hw_atl_b0_hw_init_tx_path:             ; @hw_atl_b0_hw_init_tx_path
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w1, #1
	bl	_hw_atl_rpb_tps_tx_tc_mode_set
	mov	x0, x19
	mov	w1, #4086
	bl	_hw_atl_thm_lso_tcp_flag_of_first_pkt_set
	mov	x0, x19
	mov	w1, #4086
	bl	_hw_atl_thm_lso_tcp_flag_of_middle_pkt_set
	mov	x0, x19
	mov	w1, #3967
	bl	_hw_atl_thm_lso_tcp_flag_of_last_pkt_set
	mov	x0, x19
	mov	w1, #1
	bl	_hw_atl_tdm_tx_desc_wr_wb_irq_en_set
Lloh0:
	adrp	x8, _TPO2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TPO2@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IS_CHIP_FEATURE
	cmp	x0, #0
	cset	w8, ne
	lsl	w2, w8, #16
	mov	x0, x19
	mov	w1, #28736
	bl	_aq_hw_write_reg
	mov	x0, x19
	mov	w1, #0
	bl	_hw_atl_tdm_tx_dca_en_set
	mov	x0, x19
	mov	w1, #0
	bl	_hw_atl_tdm_tx_dca_mode_set
	mov	x0, x19
	mov	w1, #1
	bl	_hw_atl_tpb_tx_path_scp_ins_en_set
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_aq_hw_err_from_flags
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TPO2,4,2                       ; @TPO2
	.no_dead_strip	_hw_atl_b0_hw_init_tx_path
.subsections_via_symbols
