	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_7zip_header_in_sfx
_check_7zip_header_in_sfx:              ## @check_7zip_header_in_sfx
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movb	5(%rdi), %al
	cmpb	$38, %al
	jg	LBB0_6
## %bb.1:
	cmpb	$-81, %al
	je	LBB0_11
## %bb.2:
	cmpb	$-68, %al
	je	LBB0_10
## %bb.3:
	cmpb	$28, %al
	jne	LBB0_14
## %bb.4:
	movq	%rdi, %r14
	movq	__7ZIP_SIGNATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$6, %ebx
	movl	$6, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_15
## %bb.5:
	leaq	12(%r14), %rsi
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	movl	$20, %edx
	callq	_crc32
	movl	%eax, %ebx
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_archive_le32dec
	cmpl	%eax, %ebx
	movl	$6, %ebx
	cmovel	%r15d, %ebx
	jmp	LBB0_15
LBB0_6:
	cmpb	$39, %al
	je	LBB0_12
## %bb.7:
	cmpb	$55, %al
	je	LBB0_8
## %bb.13:
	cmpb	$122, %al
	jne	LBB0_14
## %bb.9:
	movl	$4, %ebx
	jmp	LBB0_15
LBB0_11:
	movl	$2, %ebx
	jmp	LBB0_15
LBB0_10:
	movl	$3, %ebx
	jmp	LBB0_15
LBB0_12:
	movl	$1, %ebx
	jmp	LBB0_15
LBB0_8:
	movl	$5, %ebx
	jmp	LBB0_15
LBB0_14:
	movl	$6, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__7ZIP_SIGNATURE,4,2            ## @_7ZIP_SIGNATURE
	.no_dead_strip	_check_7zip_header_in_sfx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_7zip_header_in_sfx
_check_7zip_header_in_sfx:              ; @check_7zip_header_in_sfx
	.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
	ldrb	w8, [x0, #5]
	cmp	w8, #121
	b.gt	LBB0_5
; %bb.1:
	cmp	w8, #28
	b.eq	LBB0_9
; %bb.2:
	cmp	w8, #39
	b.eq	LBB0_11
; %bb.3:
	cmp	w8, #55
	b.ne	LBB0_14
; %bb.4:
	mov	w19, #5
	b	LBB0_15
LBB0_5:
	cmp	w8, #122
	b.eq	LBB0_12
; %bb.6:
	cmp	w8, #175
	b.eq	LBB0_13
; %bb.7:
	cmp	w8, #188
	b.ne	LBB0_14
; %bb.8:
	mov	w19, #3
	b	LBB0_15
LBB0_9:
	mov	x20, x0
Lloh0:
	adrp	x8, __7ZIP_SIGNATURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, __7ZIP_SIGNATURE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w19, #6
	mov	w2, #6
	bl	_memcmp
	cbnz	w0, LBB0_15
; %bb.10:
	add	x1, x20, #12
	mov	w2, #20
	bl	_crc32
	mov	x21, x0
	add	x0, x20, #8
	bl	_archive_le32dec
	cmp	w21, w0
	csel	w19, wzr, w19, eq
	b	LBB0_15
LBB0_11:
	mov	w19, #1
	b	LBB0_15
LBB0_12:
	mov	w19, #4
	b	LBB0_15
LBB0_13:
	mov	w19, #2
	b	LBB0_15
LBB0_14:
	mov	w19, #6
LBB0_15:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__7ZIP_SIGNATURE,4,2            ; @_7ZIP_SIGNATURE
	.no_dead_strip	_check_7zip_header_in_sfx
.subsections_via_symbols
