	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cook_parse
_cook_parse:                            ## @cook_parse
	.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, %r13d
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	je	LBB0_1
LBB0_5:
	movl	%eax, (%rbx)
	movq	%r8, (%r12)
	movl	%r13d, (%rcx)
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %r14
	movq	8(%rsi), %rdi
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.2:
	cmpl	$8, (%r14)
	jl	LBB0_5
## %bb.3:
	cmpl	$0, 4(%r14)
	je	LBB0_5
## %bb.4:
	addq	$4, %rdi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	callq	_AV_RB16
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cltd
	idivl	4(%r14)
	movl	%eax, (%r15)
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cook_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cook_parse
_cook_parse:                            ; @cook_parse
	.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	x19, x5
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x0
	ldr	x25, [x0, #8]
	ldr	w8, [x25]
	cbnz	w8, LBB0_6
; %bb.1:
	mov	x24, x1
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	w9, [x24]
	cmp	w9, #8
	b.lt	LBB0_5
; %bb.3:
	ldr	w9, [x24, #4]
	cbz	w9, LBB0_5
; %bb.4:
	add	x0, x8, #4
	bl	_AV_RB16
	ldr	w8, [x24, #4]
	sdiv	w8, w0, w8
	str	w8, [x25]
	b	LBB0_6
LBB0_5:
	mov	w8, #0
LBB0_6:
	str	w8, [x23]
	str	x21, [x22]
	str	w19, [x20]
	mov	x0, x19
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cook_parse
.subsections_via_symbols
