	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __i2400m_tx_tail_room
___i2400m_tx_tail_room:                 ## @__i2400m_tx_tail_room
	.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
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_I2400M_TX_BUF_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_8
LBB0_2:
	movq	(%rbx), %rax
	movq	_I2400M_TX_BUF_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_3
## %bb.4:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_5
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_5:
	movq	%rcx, %rax
	subq	%rdx, %rax
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_6
## %bb.7:
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %rax
	jmp	LBB0_8
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2400M_TX_BUF_SIZE,8,3         ## @I2400M_TX_BUF_SIZE
	.no_dead_strip	___i2400m_tx_tail_room
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __i2400m_tx_tail_room
___i2400m_tx_tail_room:                 ; @__i2400m_tx_tail_room
	.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	x8, [x0]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _I2400M_TX_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2400M_TX_BUF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _I2400M_TX_BUF_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2400M_TX_BUF_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	udiv	x10, x8, x9
	neg	x8, x8
	madd	x8, x10, x9, x8
	add	x8, x9, x8
	udiv	x10, x8, x9
	msub	x0, x10, x9, x8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_I2400M_TX_BUF_SIZE,8,3         ; @I2400M_TX_BUF_SIZE
	.no_dead_strip	___i2400m_tx_tail_room
.subsections_via_symbols
