	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function callback
_callback:                              ## @callback
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %ebx
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r14d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r15
	movq	(%rdi), %r12
	movl	8(%r12), %edi
	movq	_INFINITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_WaitForSingleObject
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_shall_we_drop
	testq	%rax, %rax
	je	LBB0_1
LBB0_7:
	movl	8(%r12), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ReleaseMutex                   ## TAILCALL
LBB0_1:
	movl	$24, %edi
	callq	_av_mallocz
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$8, %rdi
	movl	%r14d, %esi
	callq	_av_new_packet
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	movl	%r13d, 8(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%rbx)
	movl	12(%rbx), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	callq	_memcpy
	leaq	24(%r12), %rax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rcx
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	%rbx, (%rcx)
	movq	(%r12), %rax
	movslq	%r13d, %rcx
	addl	%r14d, (%rax,%rcx,4)
	movq	16(%r12), %rax
	movl	4(%rax), %edi
	callq	_SetEvent
	jmp	LBB0_7
LBB0_3:
	movq	%rbx, %rdi
	callq	_av_free
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_INFINITE,4,2                   ## @INFINITE
	.no_dead_strip	_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function callback
_callback:                              ; @callback
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x23, x5
	mov	x22, x4
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x24, x0
	ldr	x25, [x0]
	ldr	w0, [x25, #8]
Lloh0:
	adrp	x8, _INFINITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INFINITE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_WaitForSingleObject
	mov	x0, x24
	mov	x1, x20
	mov	x2, x23
	bl	_shall_we_drop
	cbz	x0, LBB0_2
LBB0_1:
	ldr	w0, [x25, #8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ReleaseMutex
LBB0_2:
	mov	w0, #24
	bl	_av_mallocz
	cbz	x0, LBB0_1
; %bb.3:
	mov	x23, x0
	add	x0, x0, #8
	mov	x1, x19
	bl	_av_new_packet
	tbnz	x0, #63, LBB0_7
; %bb.4:
	str	w20, [x23, #8]
	str	w22, [x23, #16]
	ldr	w0, [x23, #12]
	mov	x1, x21
	mov	x2, x19
	bl	_memcpy
	add	x8, x25, #24
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8]
	cbnz	x8, LBB0_5
; %bb.6:
	str	x23, [x9]
	ldr	x8, [x25]
	sbfiz	x9, x20, #2, #32
	ldr	w10, [x8, x9]
	add	w10, w10, w19
	str	w10, [x8, x9]
	ldr	x8, [x25, #16]
	ldr	w0, [x8, #4]
	bl	_SetEvent
	b	LBB0_1
LBB0_7:
	mov	x0, x23
	bl	_av_free
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INFINITE,4,2                   ; @INFINITE
	.no_dead_strip	_callback
.subsections_via_symbols
