	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_tx_coal
_set_tx_coal:                           ## @set_tx_coal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r14
	imull	(%rdi), %esi
	leal	31999999(%rsi), %ebx
	movl	%ebx, %edi
	movl	$64000000, %esi                 ## imm = 0x3D09000
	callq	_do_div
	cmpl	$16383, %ebx                    ## imm = 0x3FFF
	movl	$16383, %edx                    ## imm = 0x3FFF
	cmovll	%ebx, %edx
	movq	_TX_FIFO_URGENT_THRESHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$4, %edx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wrlp                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_FIFO_URGENT_THRESHOLD,4,2   ## @TX_FIFO_URGENT_THRESHOLD
	.no_dead_strip	_set_tx_coal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_tx_coal
_set_tx_coal:                           ; @set_tx_coal
	.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
	ldr	w8, [x0]
	mov	w9, #18431
	movk	w9, #488, lsl #16
	madd	w20, w8, w1, w9
	mov	x0, x20
	mov	w1, #36864
	movk	w1, #976, lsl #16
	bl	_do_div
	mov	w8, #16383
Lloh0:
	adrp	x9, _TX_FIFO_URGENT_THRESHOLD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TX_FIFO_URGENT_THRESHOLD@GOTPAGEOFF]
	cmp	w20, w8
	csel	w8, w20, w8, lt
Lloh2:
	ldr	w1, [x9]
	lsl	w2, w8, #4
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wrlp
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_FIFO_URGENT_THRESHOLD,4,2   ; @TX_FIFO_URGENT_THRESHOLD
	.no_dead_strip	_set_tx_coal
.subsections_via_symbols
