	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iforce_send_packet             ## -- Begin function iforce_send_packet
	.p2align	4, 0x90
_iforce_send_packet:                    ## @iforce_send_packet
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %edi
	callq	_LO
	movq	%rax, %r14
	leaq	8(%r12), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movl	16(%r12), %r15d
	movl	20(%r12), %r13d
	movq	_XMIT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movl	%r13d, %esi
	callq	_CIRC_SPACE
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	leal	2(%r14), %esi
	cmpl	%esi, %eax
	jge	LBB0_2
## %bb.1:
	movq	32(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movl	$-1, %ebx
	jmp	LBB0_6
LBB0_2:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movslq	%r15d, %r14
	movl	16(%r12), %edi
	callq	_XMIT_INC
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_HI
	movq	24(%r12), %rcx
	leaq	(,%r14,8), %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, (%rcx,%r14,8)
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_XMIT_INC
	movl	%ebx, %edi
	callq	_LO
	movq	24(%r12), %rcx
	movq	%rax, (%rcx,%r14,8)
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_XMIT_INC
	movq	_XMIT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	%r13d, %esi
	callq	_CIRC_SPACE_TO_END
	movl	%eax, %r14d
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	cmpl	%r13d, %eax
	movl	%r13d, %ebx
	cmovll	%eax, %ebx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addq	24(%r12), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	cmpl	%r13d, %r14d
	jge	LBB0_4
## %bb.3:
	movq	24(%r12), %rdi
	movslq	%ebx, %rax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	addq	%rax, %rsi
	movl	%r13d, %edx
	subl	%ebx, %edx
	callq	_memcpy
LBB0_4:
	movl	%r15d, %edi
	movl	%r13d, %esi
	callq	_XMIT_INC
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	xorl	%ebx, %ebx
	cmpl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.5:
	movq	(%r12), %rax
	movq	%r12, %rdi
	callq	*(%rax)
LBB0_6:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XMIT_SIZE,4,2                  ## @XMIT_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not enough space in xmit buffer to send new packet\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iforce_send_packet             ; -- Begin function iforce_send_packet
	.p2align	2
_iforce_send_packet:                    ; @iforce_send_packet
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x2
	mov	x25, x1
	mov	x19, x0
	mov	x0, x1
	bl	_LO
	mov	x21, x0
	add	x20, x19, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldp	w24, w22, [x19, #16]
Lloh0:
	adrp	x26, _XMIT_SIZE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _XMIT_SIZE@GOTPAGEOFF]
	ldr	w2, [x26]
	mov	x0, x24
	mov	x1, x22
	bl	_CIRC_SPACE
	add	w1, w21, #2
	cmp	w0, w1
	b.ge	LBB0_2
; %bb.1:
	ldr	x0, [x19, #32]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	mov	w0, #-1
	b	LBB0_7
LBB0_2:
	sxtw	x24, w24
	ldr	w0, [x19, #16]
	bl	_XMIT_INC
	mov	x0, x25
	bl	_HI
	ldr	x8, [x19, #24]
	lsl	x27, x24, #3
	str	x0, [x8, x27]
	mov	x0, x24
	mov	w1, #1
	bl	_XMIT_INC
	mov	x0, x25
	bl	_LO
	ldr	x8, [x19, #24]
	str	x0, [x8, x27]
	mov	x0, x24
	mov	w1, #1
	bl	_XMIT_INC
	ldr	w2, [x26]
	mov	x0, x24
	mov	x1, x22
	bl	_CIRC_SPACE_TO_END
	mov	x26, x0
	cmp	w0, w21
	csel	w25, w0, w21, lt
	ldr	x8, [x19, #24]
	add	x0, x8, x27
	mov	x1, x23
	mov	x2, x25
	bl	_memcpy
	cmp	w26, w21
	b.ge	LBB0_4
; %bb.3:
	ldr	x0, [x19, #24]
	add	x1, x23, w25, sxtw
	sub	w2, w21, w25
	bl	_memcpy
LBB0_4:
	mov	x0, x24
	mov	x1, x21
	bl	_XMIT_INC
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	cmp	w24, w22
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_XMIT_SIZE,4,2                  ; @XMIT_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not enough space in xmit buffer to send new packet\n"

.subsections_via_symbols
