	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_head_main
_process_head_main:                     ## @process_head_main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, -24(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -40(%rbp)
	movq	_HFL_EXTRA_DATA@GOTPCREL(%rip), %rax
	testq	%rcx, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	-24(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_read_var_sized
	testl	%eax, %eax
	jne	LBB0_3
	jmp	LBB0_15
LBB0_2:
	movq	$0, -24(%rbp)
LBB0_3:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_read_var_sized
	testl	%eax, %eax
	je	LBB0_15
## %bb.4:
	movq	-40(%rbp), %rax
	movl	%eax, %ecx
	andl	$1, %ecx
	movl	%ecx, 8(%rbx)
	movl	%eax, %ecx
	shrl	$2, %ecx
	andl	$1, %ecx
	movl	%ecx, 12(%rbx)
	testb	$2, %al
	jne	LBB0_6
## %bb.5:
	movl	$0, 16(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_6:
	movq	$0, -32(%rbp)
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_read_var_sized
	testl	%eax, %eax
	je	LBB0_15
## %bb.7:
	movq	-32(%rbp), %rax
	movq	_UINT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jbe	LBB0_12
## %bb.8:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_9:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_archive_set_error
LBB0_10:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_12:
	movl	%eax, 16(%rbx)
	movl	%eax, %eax
LBB0_13:
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	jle	LBB0_18
## %bb.14:
	cmpq	%rax, %rcx
	je	LBB0_18
LBB0_15:
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %eax
LBB0_17:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_18:
	cmpq	$0, -24(%rbp)
	je	LBB0_24
## %bb.19:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_read_var_sized
	testl	%eax, %eax
	je	LBB0_15
## %bb.20:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_read_var_sized
	testl	%eax, %eax
	je	LBB0_15
## %bb.21:
	cmpq	$0, -56(%rbp)
	je	LBB0_25
## %bb.22:
	movq	-48(%rbp), %rcx
	cmpq	$1, %rcx
	jne	LBB0_26
## %bb.23:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_process_main_locator_extra_block
	jmp	LBB0_17
LBB0_24:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_25:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_9
LBB0_26:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_archive_set_error
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_HFL_EXTRA_DATA,8,3             ## @HFL_EXTRA_DATA
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.comm	_UINT_MAX,8,3                   ## @UINT_MAX
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid volume number"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
L_.str.1:                               ## @.str.1
	.asciz	"Invalid extra field size"

L_.str.2:                               ## @.str.2
	.asciz	"Unsupported extra type (0x%x)"

	.no_dead_strip	_process_head_main
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_head_main
_process_head_main:                     ; @process_head_main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x1
	mov	x19, x0
	stur	xzr, [x29, #-24]
	stp	xzr, xzr, [sp, #24]
	str	xzr, [sp, #16]
Lloh0:
	adrp	x8, _HFL_EXTRA_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HFL_EXTRA_DATA@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	tst	x8, x3
	b.eq	LBB0_2
; %bb.1:
	sub	x1, x29, #24
	mov	x0, x19
	mov	x2, #0
	bl	_read_var_sized
	cbnz	w0, LBB0_3
	b	LBB0_13
LBB0_2:
	stur	xzr, [x29, #-24]
LBB0_3:
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, #0
	bl	_read_var_sized
	cbz	w0, LBB0_13
; %bb.4:
	ldr	x8, [sp, #16]
	and	w9, w8, #0x1
	ubfx	w10, w8, #2, #1
	stp	w9, w10, [x20, #8]
	tbnz	w8, #1, LBB0_6
; %bb.5:
	mov	x8, #0
	str	wzr, [x20, #16]
	b	LBB0_11
LBB0_6:
	str	xzr, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, #0
	bl	_read_var_sized
	cbz	w0, LBB0_13
; %bb.7:
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, _UINT_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UINT_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_10
; %bb.8:
Lloh6:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
LBB0_9:
	mov	x0, x19
	bl	_archive_set_error
Lloh11:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
	b	LBB0_14
LBB0_10:
	str	w8, [x20, #16]
	and	x8, x8, #0xffffffff
LBB0_11:
	ldr	x9, [x20]
	cmp	x9, #1
	b.lt	LBB0_16
; %bb.12:
	cmp	x9, x8
	b.eq	LBB0_16
LBB0_13:
Lloh13:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_16:
	ldur	x8, [x29, #-24]
	cbz	x8, LBB0_22
; %bb.17:
	add	x1, sp, #32
	mov	x0, x19
	mov	x2, #0
	bl	_read_var_sized
	cbz	w0, LBB0_13
; %bb.18:
	add	x1, sp, #24
	mov	x0, x19
	mov	x2, #0
	bl	_read_var_sized
	cbz	w0, LBB0_13
; %bb.19:
	ldr	x8, [sp, #32]
	cbz	x8, LBB0_23
; %bb.20:
	ldr	x8, [sp, #24]
	cmp	x8, #1
	b.ne	LBB0_24
; %bb.21:
	mov	x0, x19
	mov	x1, x20
	bl	_process_main_locator_extra_block
	b	LBB0_15
LBB0_22:
Lloh15:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
	b	LBB0_14
LBB0_23:
Lloh17:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x2, l_.str.1@PAGE
Lloh21:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_24:
Lloh22:
	adrp	x9, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh23:
	ldr	x9, [x9, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh25:
	adrp	x2, l_.str.2@PAGE
Lloh26:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_HFL_EXTRA_DATA,8,3             ; @HFL_EXTRA_DATA
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.comm	_UINT_MAX,8,3                   ; @UINT_MAX
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid volume number"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
l_.str.1:                               ; @.str.1
	.asciz	"Invalid extra field size"

l_.str.2:                               ; @.str.2
	.asciz	"Unsupported extra type (0x%x)"

	.no_dead_strip	_process_head_main
.subsections_via_symbols
