	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_packet                    ## -- Begin function send_packet
	.p2align	4, 0x90
_send_packet:                           ## @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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	20(%rdi), %edi
	movq	8(%rbx), %rsi
	movl	(%rbx), %edx
	callq	_inject
	movl	%eax, %r14d
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movl	(%rbx), %edx
	cmpl	%edx, %r14d
	jne	LBB0_5
## %bb.3:
	incl	16(%rbx)
	movq	8(%rbx), %rax
	movq	_IEEE80211_FC1_RETRY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	(%rax), %rax
	orl	%ecx, 4(%rax)
	addq	$4, %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_err                            ## TAILCALL
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	callq	_printf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"inject()"

L_.str.1:                               ## @.str.1
	.asciz	"Wrote %d/%d\n"

	.comm	_IEEE80211_FC1_RETRY,4,2        ## @IEEE80211_FC1_RETRY
L_.str.2:                               ## @.str.2
	.asciz	"gettimeofday()"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_packet                    ; -- Begin function send_packet
	.p2align	2
_send_packet:                           ; @send_packet
	.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	w0, [x0, #20]
	ldr	x1, [x19, #8]
	ldr	w2, [x19]
	bl	_inject
	mov	x20, x0
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	ldr	w2, [x19]
	cmp	w20, w2
	b.ne	LBB0_6
; %bb.3:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _IEEE80211_FC1_RETRY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IEEE80211_FC1_RETRY@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	ldr	x8, [x8]
	ldr	w10, [x8, #4]
	orr	w9, w10, w9
	str	w9, [x8, #4]
	add	x0, x19, #4
	mov	x1, #0
	bl	_gettimeofday
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_err
LBB0_6:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_printf
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"inject()"

l_.str.1:                               ; @.str.1
	.asciz	"Wrote %d/%d\n"

	.comm	_IEEE80211_FC1_RETRY,4,2        ; @IEEE80211_FC1_RETRY
l_.str.2:                               ; @.str.2
	.asciz	"gettimeofday()"

.subsections_via_symbols
