	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scan_hunk_header
_scan_hunk_header:                      ## @scan_hunk_header
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	4(%rdi), %r13
	leaq	_scan_hunk_header.digits(%rip), %rsi
	movq	%r13, %rdi
	callq	_strspn
	movslq	%eax, %rcx
	cmpb	$44, 4(%rbx,%rcx)
	jne	LBB0_2
## %bb.1:
	addq	%rcx, %r13
	incq	%r13
	leaq	_scan_hunk_header.digits(%rip), %rsi
	movq	%r13, %rdi
	callq	_strspn
LBB0_2:
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	movslq	%eax, %rbx
	cmpb	$32, (%r13,%rbx)
	jne	LBB0_9
## %bb.4:
	cmpb	$43, 1(%rbx,%r13)
	jne	LBB0_9
## %bb.5:
	addq	%r13, %rbx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	2(%rbx), %r14
	leaq	_scan_hunk_header.digits(%rip), %rsi
	movq	%r14, %rdi
	callq	_strspn
	movslq	%eax, %rcx
	cmpb	$44, 2(%rbx,%rcx)
	movq	%r14, %rbx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_7
## %bb.6:
	addq	%rcx, %rbx
	incq	%rbx
	leaq	_scan_hunk_header.digits(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strspn
LBB0_7:
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movq	%r13, %rdi
	callq	_atoi
	movl	%eax, (%r15)
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, (%r14)
	movl	$1, %r12d
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_scan_hunk_header.digits:               ## @scan_hunk_header.digits
	.asciz	"0123456789"

	.no_dead_strip	_scan_hunk_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scan_hunk_header
_scan_hunk_header:                      ; @scan_hunk_header
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	add	x21, x0, #4
Lloh0:
	adrp	x1, _scan_hunk_header.digits@PAGE
Lloh1:
	add	x1, x1, _scan_hunk_header.digits@PAGEOFF
	mov	x0, x21
	bl	_strspn
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	ldrb	w9, [x21, x8]
	cmp	w9, #44
	b.ne	LBB0_2
; %bb.1:
	add	x8, x8, x21
	add	x21, x8, #1
Lloh2:
	adrp	x1, _scan_hunk_header.digits@PAGE
Lloh3:
	add	x1, x1, _scan_hunk_header.digits@PAGEOFF
	mov	x0, x21
	bl	_strspn
                                        ; kill: def $w0 killed $w0 def $x0
	cbnz	w0, LBB0_3
	b	LBB0_10
LBB0_2:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	cbz	w0, LBB0_10
LBB0_3:
	sxtw	x9, w0
	add	x8, x21, x9
	ldrb	w10, [x8]
	cmp	w10, #32
	b.ne	LBB0_9
; %bb.4:
	add	x9, x9, x21
	ldrb	w9, [x9, #1]
	cmp	w9, #43
	b.ne	LBB0_9
; %bb.5:
	add	x22, x8, #2
Lloh4:
	adrp	x1, _scan_hunk_header.digits@PAGE
Lloh5:
	add	x1, x1, _scan_hunk_header.digits@PAGEOFF
	mov	x0, x22
	bl	_strspn
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	ldrb	w9, [x22, x8]
	cmp	w9, #44
	b.ne	LBB0_7
; %bb.6:
	add	x8, x8, x22
	add	x22, x8, #1
Lloh6:
	adrp	x1, _scan_hunk_header.digits@PAGE
Lloh7:
	add	x1, x1, _scan_hunk_header.digits@PAGEOFF
	mov	x0, x22
	bl	_strspn
                                        ; kill: def $w0 killed $w0 def $x0
LBB0_7:
	cbz	w0, LBB0_10
; %bb.8:
	mov	x0, x21
	bl	_atoi
	str	w0, [x20]
	mov	x0, x22
	bl	_atoi
	str	w0, [x19]
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_scan_hunk_header.digits:               ; @scan_hunk_header.digits
	.asciz	"0123456789"

	.no_dead_strip	_scan_hunk_header
.subsections_via_symbols
