	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function transfer_check
_transfer_check:                        ## @transfer_check
	.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
	testb	$8, 24(%rsi)
	jne	LBB0_1
## %bb.2:
	imull	$100, (%rbx), %eax
	movq	(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	imull	4(%rbx), %ecx
	cltd
	idivl	%ecx
	movl	$-3, %ecx
	cmpl	$84, %eax
	jg	LBB0_4
## %bb.3:
	movl	$2, %ecx
	cmpl	$74, %eax
	jle	LBB0_4
## %bb.9:
	movl	$0, 8(%rbx)
	jmp	LBB0_10
LBB0_1:
	movq	_DISCARD_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	$-5, %ecx
LBB0_4:
	movl	8(%rbx), %eax
	leal	(%rax,%rcx), %edx
	movl	%edx, 8(%rbx)
	addl	%ecx, %eax
	addl	$-12, %eax
	cmpl	$-19, %eax
	ja	LBB0_10
## %bb.5:
	movq	16(%rbx), %rax
	movl	8(%rax), %edx
	movl	$0, 8(%rbx)
	addl	%edx, %ecx
	movl	(%rax), %esi
	cmpl	%esi, %ecx
	jl	LBB0_7
## %bb.6:
	movl	4(%rax), %esi
	cmpl	%esi, %ecx
	cmovll	%ecx, %esi
LBB0_7:
	cmpl	%edx, %esi
	je	LBB0_10
## %bb.8:
	movl	%esi, 8(%rax)
	leaq	12(%rbx), %rdi
	callq	_schedule_work
LBB0_10:
	movq	$0, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DISCARD_PACKET,4,2             ## @DISCARD_PACKET
	.no_dead_strip	_transfer_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function transfer_check
_transfer_check:                        ; @transfer_check
	.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
	ldrb	w8, [x1, #24]
	tbnz	w8, #3, LBB0_3
; %bb.1:
	ldr	w8, [x19]
	mov	w9, #100
	mul	w8, w8, w9
	ldr	w9, [x19, #4]
	ldr	x10, [x19]
	ldr	x10, [x10]
	ldr	x10, [x10]
	ldr	w10, [x10]
	mul	w9, w10, w9
	sdiv	w8, w8, w9
	cmp	w8, #84
	b.le	LBB0_4
; %bb.2:
	mov	w8, #-3
	b	LBB0_6
LBB0_3:
Lloh0:
	adrp	x8, _DISCARD_PACKET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DISCARD_PACKET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	w8, #-5
	b	LBB0_6
LBB0_4:
	cmp	w8, #74
	b.gt	LBB0_11
; %bb.5:
	mov	w8, #2
LBB0_6:
	ldr	w9, [x19, #8]
	add	w9, w9, w8
	str	w9, [x19, #8]
	sub	w9, w9, #12
	cmn	w9, #19
	b.hi	LBB0_12
; %bb.7:
	ldr	x9, [x19, #16]
	ldr	w10, [x9, #8]
	str	wzr, [x19, #8]
	ldr	w11, [x9]
	add	w8, w10, w8
	cmp	w8, w11
	b.lt	LBB0_9
; %bb.8:
	ldr	w11, [x9, #4]
	cmp	w8, w11
	csel	w11, w8, w11, lt
LBB0_9:
	cmp	w11, w10
	b.eq	LBB0_12
; %bb.10:
	str	w11, [x9, #8]
	add	x0, x19, #12
	bl	_schedule_work
	b	LBB0_12
LBB0_11:
	str	wzr, [x19, #8]
LBB0_12:
	str	xzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DISCARD_PACKET,4,2             ; @DISCARD_PACKET
	.no_dead_strip	_transfer_check
.subsections_via_symbols
