	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_header
_check_header:                          ## @check_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	$0, (%rdi)
	movq	%rdi, %rsi
	callq	_get_byte
	movq	_gz_magic@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movl	$1, %r12d
	cmpl	(%rcx), %eax
	jne	LBB0_15
## %bb.1:
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_get_byte
	movl	%eax, %r14d
	movq	(%rbx), %rax
	cmpl	4(%rax), %r14d
	jne	LBB0_15
## %bb.2:
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_get_byte
	movl	%eax, %r13d
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_get_byte
	movl	%eax, %ebx
	movq	_Z_DEFLATED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_15
## %bb.3:
	movq	_RESERVED@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_15
## %bb.4:
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_get_byte
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_get_byte
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_get_byte
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_get_byte
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_get_byte
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_get_byte
	movq	_EXTRA_FIELD@GOTPCREL(%rip), %rax
	movl	%ebx, %r13d
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.5:
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_get_byte
	movl	%eax, %r12d
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_get_byte
                                        ## kill: def $eax killed $eax def $rax
	shll	$8, %eax
	leal	(%r12,%rax), %ebx
	incl	%ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	decl	%ebx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_get_byte
	cmpl	$-1, %eax
	jne	LBB0_6
LBB0_8:
	movq	_ORIG_NAME@GOTPCREL(%rip), %rax
	movl	%r13d, %ebx
	testl	%r13d, (%rax)
	je	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_get_byte
	movl	%eax, %r14d
	leal	-1(%r14), %eax
	cmpl	$-2, %eax
	jb	LBB0_9
LBB0_10:
	movq	_COMMENT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_get_byte
	movl	%eax, %r14d
	leal	-1(%r14), %eax
	cmpl	$-2, %eax
	jb	LBB0_11
LBB0_12:
	movq	_HEAD_CRC@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_get_byte
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_get_byte
	movl	%eax, %r14d
LBB0_14:
	xorl	%r12d, %r12d
	cmpl	$-1, %r14d
	sete	%r12b
LBB0_15:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gz_magic,8,3                   ## @gz_magic
	.comm	_Z_DEFLATED,4,2                 ## @Z_DEFLATED
	.comm	_RESERVED,4,2                   ## @RESERVED
	.comm	_EXTRA_FIELD,4,2                ## @EXTRA_FIELD
	.comm	_ORIG_NAME,4,2                  ## @ORIG_NAME
	.comm	_COMMENT,4,2                    ## @COMMENT
	.comm	_HEAD_CRC,4,2                   ## @HEAD_CRC
	.no_dead_strip	_check_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_header
_check_header:                          ; @check_header
	.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
	mov	x19, x0
	str	xzr, [x0]
	mov	x1, x0
	bl	_get_byte
Lloh0:
	adrp	x21, _gz_magic@GOTPAGE
Lloh1:
	ldr	x21, [x21, _gz_magic@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x19
	mov	x1, x19
	bl	_get_byte
	ldr	x8, [x21]
	ldr	w8, [x8, #4]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x19
	bl	_get_byte
	mov	x22, x0
	mov	x0, x19
	mov	x1, x19
	bl	_get_byte
Lloh2:
	adrp	x8, _Z_DEFLATED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Z_DEFLATED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_4
; %bb.3:
	mov	x21, x0
Lloh5:
	adrp	x8, _RESERVED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RESERVED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
LBB0_4:
	mov	w0, #1
LBB0_5:
	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
LBB0_6:
	mov	x0, x19
	mov	x1, x19
	bl	_get_byte
	mov	x0, x19
	mov	x1, x19
	bl	_get_byte
	mov	x0, x19
	mov	x1, x19
	bl	_get_byte
	mov	x0, x19
	mov	x1, x19
	bl	_get_byte
	mov	x0, x19
	mov	x1, x19
	bl	_get_byte
	mov	x0, x19
	mov	x1, x19
	bl	_get_byte
Lloh8:
	adrp	x8, _EXTRA_FIELD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EXTRA_FIELD@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_10
; %bb.7:
	mov	x0, x19
	mov	x1, x19
	bl	_get_byte
	mov	x22, x0
	mov	x0, x19
	mov	x1, x19
	bl	_get_byte
	add	w8, w22, w0, lsl #8
	add	w22, w8, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	subs	w22, w22, #1
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x19
	bl	_get_byte
	cmn	w0, #1
	b.ne	LBB0_8
LBB0_10:
Lloh11:
	adrp	x8, _ORIG_NAME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ORIG_NAME@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x19
	bl	_get_byte
	sub	w8, w0, #1
	cmn	w8, #2
	b.lo	LBB0_11
; %bb.12:
	mov	x20, x0
LBB0_13:
Lloh14:
	adrp	x8, _COMMENT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _COMMENT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x19
	bl	_get_byte
	sub	w8, w0, #1
	cmn	w8, #2
	b.lo	LBB0_14
; %bb.15:
	mov	x20, x0
LBB0_16:
Lloh17:
	adrp	x8, _HEAD_CRC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _HEAD_CRC@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x19
	mov	x1, x19
	bl	_get_byte
	mov	x0, x19
	mov	x1, x19
	bl	_get_byte
	mov	x20, x0
LBB0_18:
	cmn	w20, #1
	cset	w0, eq
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_gz_magic,8,3                   ; @gz_magic
	.comm	_Z_DEFLATED,4,2                 ; @Z_DEFLATED
	.comm	_RESERVED,4,2                   ; @RESERVED
	.comm	_EXTRA_FIELD,4,2                ; @EXTRA_FIELD
	.comm	_ORIG_NAME,4,2                  ; @ORIG_NAME
	.comm	_COMMENT,4,2                    ; @COMMENT
	.comm	_HEAD_CRC,4,2                   ; @HEAD_CRC
	.no_dead_strip	_check_header
.subsections_via_symbols
