	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function archive_read_format_cpio_bid
_archive_read_format_cpio_bid:          ## @archive_read_format_cpio_bid
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movl	$6, %esi
	xorl	%edx, %edx
	callq	___archive_read_ahead
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movl	$6, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$6, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$6, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	$6, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	movzbl	(%rbx), %eax
	movl	%eax, %edx
	shll	$8, %edx
	movzbl	1(%rbx), %ecx
	orl	%ecx, %edx
	cmpl	$29127, %edx                    ## imm = 0x71C7
	jne	LBB0_12
## %bb.10:
	movq	_header_bin_be@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_3:
	movq	_header_odc@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_15
LBB0_7:
	movq	_header_newc@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movl	$48, %eax
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_12:
	shll	$8, %ecx
	orl	%eax, %ecx
	cmpl	$29127, %ecx                    ## imm = 0x71C7
	jne	LBB0_14
## %bb.13:
	movq	_header_bin_le@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movl	$16, %eax
	jmp	LBB0_15
LBB0_14:
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"070707"

	.comm	_header_odc,8,3                 ## @header_odc
L_.str.1:                               ## @.str.1
	.asciz	"070727"

L_.str.2:                               ## @.str.2
	.asciz	"070701"

	.comm	_header_newc,8,3                ## @header_newc
L_.str.3:                               ## @.str.3
	.asciz	"070702"

	.comm	_header_bin_be,8,3              ## @header_bin_be
	.comm	_header_bin_le,8,3              ## @header_bin_le
	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
	.no_dead_strip	_archive_read_format_cpio_bid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function archive_read_format_cpio_bid
_archive_read_format_cpio_bid:          ; @archive_read_format_cpio_bid
	.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
	ldr	x8, [x0]
	ldr	x20, [x8]
	mov	w1, #6
	mov	x2, #0
	bl	___archive_read_ahead
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #6
	bl	_memcmp
	cbz	x0, LBB0_7
; %bb.2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #6
	bl	_memcmp
	cbz	x0, LBB0_7
; %bb.3:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #6
	bl	_memcmp
	cbz	x0, LBB0_9
; %bb.4:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #6
	bl	_memcmp
	cbz	x0, LBB0_9
; %bb.5:
	ldrb	w8, [x19]
	ldrb	w9, [x19, #1]
	mov	x11, x9
	bfi	w11, w8, #8, #8
	mov	w10, #29127
	cmp	w11, w10
	b.ne	LBB0_12
; %bb.6:
Lloh8:
	adrp	x8, _header_bin_be@GOTPAGE
Lloh9:
	ldr	x8, [x8, _header_bin_be@GOTPAGEOFF]
	b	LBB0_14
LBB0_7:
Lloh10:
	adrp	x8, _header_odc@GOTPAGE
Lloh11:
	ldr	x8, [x8, _header_odc@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	mov	w0, #-1
	b	LBB0_11
LBB0_9:
Lloh12:
	adrp	x8, _header_newc@GOTPAGE
Lloh13:
	ldr	x8, [x8, _header_newc@GOTPAGEOFF]
LBB0_10:
	ldr	x8, [x8]
	str	x8, [x20]
	mov	w0, #48
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_12:
	bfi	w8, w9, #8, #8
	cmp	w8, w10
	b.ne	LBB0_15
; %bb.13:
Lloh14:
	adrp	x8, _header_bin_le@GOTPAGE
Lloh15:
	ldr	x8, [x8, _header_bin_le@GOTPAGEOFF]
LBB0_14:
	ldr	x8, [x8]
	str	x8, [x20]
	mov	w0, #16
	b	LBB0_11
LBB0_15:
Lloh16:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"070707"

	.comm	_header_odc,8,3                 ; @header_odc
l_.str.1:                               ; @.str.1
	.asciz	"070727"

l_.str.2:                               ; @.str.2
	.asciz	"070701"

	.comm	_header_newc,8,3                ; @header_newc
l_.str.3:                               ; @.str.3
	.asciz	"070702"

	.comm	_header_bin_be,8,3              ; @header_bin_be
	.comm	_header_bin_le,8,3              ; @header_bin_le
	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
	.no_dead_strip	_archive_read_format_cpio_bid
.subsections_via_symbols
