	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enable_tx_fifo_drain
_enable_tx_fifo_drain:                  ## @enable_tx_fifo_drain
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_A_XGM_TXFIFO_CFG@GOTPCREL(%rip), %rax
	movq	(%rsi), %rsi
	addq	(%rax), %rsi
	movq	_F_ENDROPPKT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	callq	_t3_set_reg_field
	movq	_A_XGM_RX_CTRL@GOTPCREL(%rip), %r15
	movq	(%rbx), %rsi
	addq	(%r15), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_t3_write_reg
	movq	_A_XGM_TX_CTRL@GOTPCREL(%rip), %rax
	movq	(%rbx), %rsi
	addq	(%rax), %rsi
	movq	_F_TXEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_t3_write_reg
	movq	(%rbx), %rsi
	addq	(%r15), %rsi
	movq	_F_RXEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_t3_write_reg                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_A_XGM_TXFIFO_CFG,8,3           ## @A_XGM_TXFIFO_CFG
	.comm	_F_ENDROPPKT,4,2                ## @F_ENDROPPKT
	.comm	_A_XGM_RX_CTRL,8,3              ## @A_XGM_RX_CTRL
	.comm	_A_XGM_TX_CTRL,8,3              ## @A_XGM_TX_CTRL
	.comm	_F_TXEN,4,2                     ## @F_TXEN
	.comm	_F_RXEN,4,2                     ## @F_RXEN
	.no_dead_strip	_enable_tx_fifo_drain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enable_tx_fifo_drain
_enable_tx_fifo_drain:                  ; @enable_tx_fifo_drain
	.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, _A_XGM_TXFIFO_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _A_XGM_TXFIFO_CFG@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x1]
	add	x1, x9, x8
Lloh3:
	adrp	x8, _F_ENDROPPKT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _F_ENDROPPKT@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	w2, #0
	bl	_t3_set_reg_field
Lloh6:
	adrp	x21, _A_XGM_RX_CTRL@GOTPAGE
Lloh7:
	ldr	x21, [x21, _A_XGM_RX_CTRL@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x9, [x19]
	add	x1, x9, x8
	mov	x0, x20
	mov	w2, #0
	bl	_t3_write_reg
Lloh8:
	adrp	x8, _A_XGM_TX_CTRL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _A_XGM_TX_CTRL@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x19]
	add	x1, x9, x8
Lloh11:
	adrp	x8, _F_TXEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _F_TXEN@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_t3_write_reg
	ldr	x8, [x21]
	ldr	x9, [x19]
	add	x1, x9, x8
Lloh14:
	adrp	x8, _F_RXEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _F_RXEN@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
	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	_t3_write_reg
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_A_XGM_TXFIFO_CFG,8,3           ; @A_XGM_TXFIFO_CFG
	.comm	_F_ENDROPPKT,4,2                ; @F_ENDROPPKT
	.comm	_A_XGM_RX_CTRL,8,3              ; @A_XGM_RX_CTRL
	.comm	_A_XGM_TX_CTRL,8,3              ; @A_XGM_TX_CTRL
	.comm	_F_TXEN,4,2                     ; @F_TXEN
	.comm	_F_RXEN,4,2                     ; @F_RXEN
	.no_dead_strip	_enable_tx_fifo_drain
.subsections_via_symbols
