	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chunk_header_cb                ## -- Begin function chunk_header_cb
	.p2align	4, 0x90
_chunk_header_cb:                       ## @chunk_header_cb
	.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
	xorl	%edi, %edi
	cmpq	_parser@GOTPCREL(%rip), %rbx
	sete	%dil
	callq	_assert
	movq	_messages@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_num_messages@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	movslq	(%rax,%rcx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%rax,%rcx)
	movq	_MAX_CHUNKS@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edx
	jge	LBB0_2
## %bb.1:
	movl	(%rbx), %esi
	movq	8(%rax,%rcx), %rax
	movl	%esi, (%rax,%rdx,4)
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_parser,4,2                     ## @parser
	.comm	_messages,8,3                   ## @messages
	.comm	_num_messages,8,3               ## @num_messages
	.comm	_MAX_CHUNKS,4,2                 ## @MAX_CHUNKS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chunk_header_cb                ; -- Begin function chunk_header_cb
	.p2align	2
_chunk_header_cb:                       ; @chunk_header_cb
	.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
Lloh0:
	adrp	x8, _parser@GOTPAGE
Lloh1:
	ldr	x8, [x8, _parser@GOTPAGEOFF]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
Lloh2:
	adrp	x8, _messages@GOTPAGE
Lloh3:
	ldr	x8, [x8, _messages@GOTPAGEOFF]
Lloh4:
	adrp	x9, _num_messages@GOTPAGE
Lloh5:
	ldr	x9, [x9, _num_messages@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	ldr	x10, [x9]
	lsl	x11, x10, #4
	ldrsw	x9, [x8, x11]
	add	w12, w9, #1
	str	w12, [x8, x11]
Lloh8:
	adrp	x11, _MAX_CHUNKS@GOTPAGE
Lloh9:
	ldr	x11, [x11, _MAX_CHUNKS@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
	cmp	w9, w11
	b.ge	LBB0_2
; %bb.1:
	ldr	w11, [x19]
	add	x8, x8, x10, lsl #4
	ldr	x8, [x8, #8]
	str	w11, [x8, x9, lsl #2]
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_parser,4,2                     ; @parser
	.comm	_messages,8,3                   ; @messages
	.comm	_num_messages,8,3               ; @num_messages
	.comm	_MAX_CHUNKS,4,2                 ; @MAX_CHUNKS
.subsections_via_symbols
