	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_bcj
_test_bcj:                              ## @test_bcj
	.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	$1048, %rsp                     ## imm = 0x418
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_extract_reference_file
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_archive_read_new
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movq	%r14, %rdi
	callq	_archive_read_support_filter_all
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %ebx
	movq	%r14, %rdi
	callq	_archive_read_support_format_all
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$10240, %edx                    ## imm = 0x2800
	callq	_archive_read_open_filename
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %ebx
	leaq	-1080(%rbp), %rsi
	movq	%r14, %rdi
	callq	_archive_read_next_header
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_AE_IFREG@GOTPCREL(%rip), %rax
	movl	$292, %ebx                      ## imm = 0x124
	orl	(%rax), %ebx
	movq	-1080(%rbp), %rdi
	callq	_archive_entry_mode
	andl	$-74, %eax
	movslq	%eax, %rsi
	movl	%ebx, %edi
	callq	_assertEqualInt
	movq	-1080(%rbp), %rdi
	callq	_archive_entry_pathname
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_assertEqualString
	movq	-1080(%rbp), %rdi
	callq	_archive_entry_mtime
	movl	$172802, %edi                   ## imm = 0x2A302
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	-1080(%rbp), %rdi
	callq	_archive_entry_size
	movl	$27328, %edi                    ## imm = 0x6AC0
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	-1080(%rbp), %rdi
	callq	_archive_entry_is_encrypted
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	movq	%r14, %rdi
	callq	_archive_read_has_encrypted_entries
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_assertEqualIntA
	movq	-1080(%rbp), %rdi
	callq	_archive_entry_size
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	leaq	-1072(%rbp), %r15
	movq	%rax, %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$1024, %edx                     ## imm = 0x400
	cmpq	$1023, %r12                     ## imm = 0x3FF
	ja	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_archive_read_data
	movq	%rax, %rbx
	movl	%r12d, %edi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_archive_read_data
	movq	%rax, %rbx
	movl	$1024, %edi                     ## imm = 0x400
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rsi
	callq	_assertEqualInt
	testq	%rbx, %rbx
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	subq	%rbx, %r12
	jne	LBB0_2
## %bb.7:
	xorl	%r12d, %r12d
LBB0_8:
	xorl	%edi, %edi
	movq	%r12, %rsi
	callq	_assertEqualInt
	movq	%r14, %rdi
	callq	_archive_file_count
	movl	$1, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-1080(%rbp), %rsi
	movq	%r14, %rdi
	callq	_archive_read_next_header
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_ARCHIVE_FILTER_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_archive_filter_code
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_ARCHIVE_FORMAT_7ZIP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_archive_format
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %ebx
	movq	%r14, %rdi
	callq	_archive_read_close
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movl	(%r13), %ebx
	movq	%r14, %rdi
	callq	_archive_read_free
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_assertEqualInt
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$1048, %rsp                     ## imm = 0x418
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_AE_IFREG,4,2                   ## @AE_IFREG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"x86exe"

	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.comm	_ARCHIVE_FILTER_NONE,4,2        ## @ARCHIVE_FILTER_NONE
	.comm	_ARCHIVE_FORMAT_7ZIP,4,2        ## @ARCHIVE_FORMAT_7ZIP
	.no_dead_strip	_test_bcj
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_bcj
_test_bcj:                              ; @test_bcj
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 w27, -56
	.cfi_offset w28, -64
	sub	sp, sp, #1040
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_extract_reference_file
	bl	_archive_read_new
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh3:
	adrp	x22, _ARCHIVE_OK@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w21, [x22]
	mov	x0, x19
	bl	_archive_read_support_filter_all
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	w21, [x22]
	mov	x0, x19
	bl	_archive_read_support_format_all
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	w21, [x22]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #10240
	bl	_archive_read_open_filename
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	w20, [x22]
	mov	x1, sp
	mov	x0, x19
	bl	_archive_read_next_header
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_assertEqualIntA
Lloh5:
	adrp	x8, _AE_IFREG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mov	w9, #292
	orr	w20, w8, w9
	ldr	x0, [sp]
	bl	_archive_entry_mode
	mov	w8, #-74
	and	w8, w0, w8
	sxtw	x1, w8
	mov	x0, x20
	bl	_assertEqualInt
	ldr	x0, [sp]
	bl	_archive_entry_pathname
	mov	x1, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_assertEqualString
	ldr	x0, [sp]
	bl	_archive_entry_mtime
	mov	x1, x0
	mov	w0, #41730
	movk	w0, #2, lsl #16
	bl	_assertEqualInt
	ldr	x0, [sp]
	bl	_archive_entry_size
	mov	x1, x0
	mov	w0, #27328
	bl	_assertEqualInt
	ldr	x0, [sp]
	bl	_archive_entry_is_encrypted
	mov	x1, #0
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_read_has_encrypted_entries
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_assertEqualIntA
	ldr	x0, [sp]
	bl	_archive_entry_size
	mov	x20, x0
	cbz	x0, LBB0_6
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #1024
	cmp	x20, #1023
	b.hi	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_archive_read_data
	mov	x21, x0
	mov	x0, x20
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	bl	_archive_read_data
	mov	x21, x0
	mov	w0, #1024
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x1, x21
	bl	_assertEqualInt
	cmp	x21, #1
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	subs	x20, x20, x21
	b.ne	LBB0_1
LBB0_6:
	mov	w0, #0
	mov	x1, x20
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_file_count
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
Lloh10:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
	mov	x1, sp
	mov	x0, x19
	bl	_archive_read_next_header
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_assertEqualIntA
Lloh13:
	adrp	x8, _ARCHIVE_FILTER_NONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ARCHIVE_FILTER_NONE@GOTPAGEOFF]
Lloh15:
	ldr	w20, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_archive_filter_code
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_assertEqualIntA
Lloh16:
	adrp	x8, _ARCHIVE_FORMAT_7ZIP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ARCHIVE_FORMAT_7ZIP@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_archive_format
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_assertEqualIntA
	ldr	w20, [x22]
	mov	x0, x19
	bl	_archive_read_close
	mov	x1, x0
	mov	x0, x20
	bl	_assertEqualInt
	ldr	w20, [x22]
	mov	x0, x19
	bl	_archive_read_free
	mov	x1, x0
	mov	x0, x20
	bl	_assertEqualInt
	ldur	x8, [x29, #-56]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	add	sp, sp, #1040
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_AE_IFREG,4,2                   ; @AE_IFREG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"x86exe"

	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.comm	_ARCHIVE_FILTER_NONE,4,2        ; @ARCHIVE_FILTER_NONE
	.comm	_ARCHIVE_FORMAT_7ZIP,4,2        ; @ARCHIVE_FORMAT_7ZIP
	.no_dead_strip	_test_bcj
.subsections_via_symbols
