	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_odc_header
_find_odc_header:                       ## @find_odc_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_odc_header_size@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-44(%rbp), %rdx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	___archive_read_ahead
	movq	%rax, %r12
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	testq	%r12, %r12
	je	LBB0_27
## %bb.1:
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	subq	%r12, %rbx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	___archive_read_consume
	addq	%rbx, %r13
	movl	(%r14), %esi
	movq	%r15, %rdi
	leaq	-44(%rbp), %rdx
	callq	___archive_read_ahead
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_23
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movslq	-44(%rbp), %r15
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	movl	$6, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_is_octal
	testq	%rax, %rax
	jne	LBB0_26
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	movl	$6, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %esi
	movq	%r12, %rdi
	callq	_is_afio_large
	testq	%rax, %rax
	jne	LBB0_25
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %eax
	movq	%r12, %rbx
	cmpl	%r15d, %eax
	jg	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%r12, %r15
	movq	%r12, %rbx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=2
	addq	$6, %rbx
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=2
	movslq	%eax, %rcx
	addq	%rbx, %rcx
	cmpq	%r15, %rcx
	ja	LBB0_2
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	5(%rbx), %ecx
	cmpl	$48, %ecx
	je	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpl	$55, %ecx
	jne	LBB0_9
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	$6, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_is_octal
	testq	%rax, %rax
	jne	LBB0_19
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=2
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movl	$6, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	%r15d, %esi
	subl	%ebx, %esi
	movq	%rbx, %rdi
	callq	_is_afio_large
	testq	%rax, %rax
	jne	LBB0_19
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=2
	addq	$2, %rbx
	movl	(%r14), %eax
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=2
	incq	%rbx
	jmp	LBB0_10
LBB0_19:
	movq	%rbx, %r15
	subq	%r12, %r15
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	___archive_read_consume
	addq	%r13, %r15
	cmpb	$50, 4(%rbx)
	jne	LBB0_21
## %bb.20:
	movq	_ARCHIVE_FORMAT_CPIO_AFIO_LARGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_21:
	testq	%r15, %r15
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	je	LBB0_27
## %bb.22:
	leaq	L_.str.2(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	%r15d, %ecx
	callq	_archive_set_error
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_23:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_25:
	movq	_ARCHIVE_FORMAT_CPIO_AFIO_LARGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_26:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
LBB0_27:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_odc_header_size,4,2            ## @odc_header_size
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"070707"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
L_.str.1:                               ## @.str.1
	.asciz	"070727"

	.comm	_ARCHIVE_FORMAT_CPIO_AFIO_LARGE,8,3 ## @ARCHIVE_FORMAT_CPIO_AFIO_LARGE
L_.str.2:                               ## @.str.2
	.asciz	"Skipped %d bytes before finding valid header"

	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
	.no_dead_strip	_find_odc_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_odc_header
_find_odc_header:                       ; @find_odc_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x25, _odc_header_size@GOTPAGE
Lloh1:
	ldr	x25, [x25, _odc_header_size@GOTPAGEOFF]
	ldr	w1, [x25]
	add	x2, sp, #12
	bl	___archive_read_ahead
	cbz	x0, LBB0_23
; %bb.1:
	mov	x22, x0
	mov	x26, #0
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
Lloh4:
	adrp	x24, _ARCHIVE_OK@GOTPAGE
Lloh5:
	ldr	x24, [x24, _ARCHIVE_OK@GOTPAGEOFF]
Lloh6:
	adrp	x27, _ARCHIVE_FATAL@GOTPAGE
Lloh7:
	ldr	x27, [x27, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x22, x23, x22
	mov	x0, x19
	mov	x1, x22
	bl	___archive_read_consume
	add	x26, x22, x26
	ldr	w1, [x25]
	add	x2, sp, #12
	mov	x0, x19
	bl	___archive_read_ahead
	mov	x22, x0
	cbz	x0, LBB0_24
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldrsw	x28, [sp, #12]
	mov	x0, x20
	mov	x1, x22
	mov	w2, #6
	bl	_memcmp
	cbnz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x25]
	mov	x0, x22
	bl	_is_octal
	cbnz	x0, LBB0_27
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	w2, #6
	bl	_memcmp
	cbnz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [sp, #12]
	mov	x0, x22
	bl	_is_afio_large
	cbnz	x0, LBB0_25
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x25]
	mov	x23, x22
	cmp	w8, w28
	b.gt	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x28, x22, x28
	mov	x23, x22
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	add	x23, x23, #6
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x9, x23, w8, sxtw
	cmp	x9, x28
	b.hi	LBB0_2
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w9, [x23, #5]
	cmp	w9, #48
	b.eq	LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	cmp	w9, #55
	b.ne	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x20
	mov	x1, x23
	mov	w2, #6
	bl	_memcmp
	cbnz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w1, [x25]
	mov	x0, x23
	bl	_is_octal
	cbnz	x0, LBB0_19
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x21
	mov	x1, x23
	mov	w2, #6
	bl	_memcmp
	cbnz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=2
	sub	w1, w28, w23
	mov	x0, x23
	bl	_is_afio_large
	cbnz	x0, LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x23, x23, #2
	ldr	w8, [x25]
	b	LBB0_10
LBB0_18:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x23, x23, #1
	b	LBB0_10
LBB0_19:
	sub	x20, x23, x22
	mov	x0, x19
	mov	x1, x20
	bl	___archive_read_consume
	add	x3, x20, x26
	ldrb	w8, [x23, #4]
	cmp	w8, #50
	b.ne	LBB0_21
; %bb.20:
Lloh10:
	adrp	x8, _ARCHIVE_FORMAT_CPIO_AFIO_LARGE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ARCHIVE_FORMAT_CPIO_AFIO_LARGE@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_21:
	cbz	x3, LBB0_26
; %bb.22:
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #0
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_archive_set_error
Lloh15:
	adrp	x24, _ARCHIVE_WARN@GOTPAGE
Lloh16:
	ldr	x24, [x24, _ARCHIVE_WARN@GOTPAGEOFF]
	b	LBB0_27
LBB0_23:
Lloh17:
	adrp	x24, _ARCHIVE_FATAL@GOTPAGE
Lloh18:
	ldr	x24, [x24, _ARCHIVE_FATAL@GOTPAGEOFF]
	b	LBB0_27
LBB0_24:
	mov	x24, x27
	b	LBB0_27
LBB0_25:
Lloh19:
	adrp	x8, _ARCHIVE_FORMAT_CPIO_AFIO_LARGE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ARCHIVE_FORMAT_CPIO_AFIO_LARGE@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_26:
Lloh22:
	adrp	x24, _ARCHIVE_OK@GOTPAGE
Lloh23:
	ldr	x24, [x24, _ARCHIVE_OK@GOTPAGEOFF]
LBB0_27:
	ldr	w0, [x24]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_odc_header_size,4,2            ; @odc_header_size
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"070707"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
l_.str.1:                               ; @.str.1
	.asciz	"070727"

	.comm	_ARCHIVE_FORMAT_CPIO_AFIO_LARGE,8,3 ; @ARCHIVE_FORMAT_CPIO_AFIO_LARGE
l_.str.2:                               ; @.str.2
	.asciz	"Skipped %d bytes before finding valid header"

	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
	.no_dead_strip	_find_odc_header
.subsections_via_symbols
