	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_header
_parse_header:                          ## @parse_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	%rbx
	.cfi_offset %rbx, -24
	movq	8(%rdi), %rdx
	movq	_GSS_S_DEFECTIVE_TOKEN@GOTPCREL(%rip), %r10
	testq	%rdx, %rdx
	je	LBB0_21
## %bb.1:
	cmpq	$1, %rdx
	jne	LBB0_2
LBB0_21:
	movl	(%r10), %eax
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	(%rdi), %r9
	movzbl	1(%r9), %eax
	testb	$-128, %al
	jne	LBB0_4
## %bb.3:
	movl	%eax, %edi
	addq	$2, %r9
	addq	$-2, %rdx
	movq	%r9, %rcx
	movq	%rdx, %r8
	jmp	LBB0_15
LBB0_4:
	andl	$127, %eax
	addq	$-2, %rdx
	movq	%rdx, %r8
	subq	%rax, %r8
	jb	LBB0_21
## %bb.5:
	leaq	2(%r9), %rcx
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	leaq	-1(%rax), %rdx
	movl	%eax, %r11d
	andl	$3, %r11d
	cmpq	$3, %rdx
	jae	LBB0_9
## %bb.8:
	xorl	%edi, %edi
	jmp	LBB0_11
LBB0_6:
	xorl	%edi, %edi
	movq	%rdx, %r8
	jmp	LBB0_15
LBB0_9:
	movl	%eax, %edx
	andl	$-4, %edx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx), %ebx
	shlq	$16, %rdi
	shlq	$8, %rbx
	orq	%rdi, %rbx
	movzbl	1(%rcx), %edi
	orq	%rbx, %rdi
	movzbl	2(%rcx), %ebx
	shlq	$16, %rdi
	shlq	$8, %rbx
	orq	%rdi, %rbx
	movzbl	3(%rcx), %edi
	orq	%rbx, %rdi
	addq	$4, %rcx
	addq	$-4, %rdx
	jne	LBB0_10
LBB0_11:
	addq	$2, %rax
	testq	%r11, %r11
	je	LBB0_14
## %bb.12:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	shlq	$8, %rdi
	movzbl	(%rcx,%rdx), %ebx
	orq	%rbx, %rdi
	incq	%rdx
	cmpq	%rdx, %r11
	jne	LBB0_13
LBB0_14:
	addq	%rax, %r9
	movq	%r9, %rcx
LBB0_15:
	cmpq	$2, %r8
	jb	LBB0_21
## %bb.16:
	cmpq	%r8, %rdi
	jne	LBB0_21
## %bb.17:
	cmpb	$6, (%rcx)
	jne	LBB0_21
## %bb.18:
	movb	1(%rcx), %al
	testb	%al, %al
	js	LBB0_21
## %bb.19:
	addq	$-2, %r8
	movzbl	%al, %edx
	cmpq	%rdx, %r8
	jb	LBB0_21
## %bb.20:
	movb	%al, (%rsi)
	addq	$2, %rcx
	movq	%rcx, 8(%rsi)
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %r10
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_S_DEFECTIVE_TOKEN,4,2      ## @GSS_S_DEFECTIVE_TOKEN
	.comm	_GSS_S_COMPLETE,4,2             ## @GSS_S_COMPLETE
	.no_dead_strip	_parse_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_header
_parse_header:                          ; @parse_header
	.cfi_startproc
; %bb.0:
	ldr	x11, [x0, #8]
	cbz	x11, LBB0_2
; %bb.1:
	cmp	x11, #1
	b.ne	LBB0_3
LBB0_2:
Lloh0:
	adrp	x10, _GSS_S_DEFECTIVE_TOKEN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _GSS_S_DEFECTIVE_TOKEN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x10]
	ret
LBB0_3:
	ldr	x10, [x0]
	ldrb	w9, [x10, #1]
	tbnz	w9, #7, LBB0_5
; %bb.4:
	add	x8, x10, #2
	sub	x13, x11, #2
	b	LBB0_10
LBB0_5:
	and	x12, x9, #0x7f
	sub	x13, x11, #2
	subs	x11, x13, x12
	b.lo	LBB0_2
; %bb.6:
	add	x8, x10, #2
	mov	x9, #0
	cbz	w12, LBB0_10
; %bb.7:
	add	x13, x12, #2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w14, [x8], #1
	bfi	x14, x9, #8, #56
	mov	x9, x14
	subs	x12, x12, #1
	b.ne	LBB0_8
; %bb.9:
	add	x8, x10, x13
	mov	x13, x11
LBB0_10:
Lloh3:
	adrp	x10, _GSS_S_DEFECTIVE_TOKEN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _GSS_S_DEFECTIVE_TOKEN@GOTPAGEOFF]
	subs	x11, x13, #2
	b.lo	LBB0_16
; %bb.11:
	cmp	x9, x13
	b.ne	LBB0_16
; %bb.12:
	ldrb	w9, [x8]
	cmp	w9, #6
	b.ne	LBB0_2
; %bb.13:
	ldrsb	w9, [x8, #1]
Lloh5:
	adrp	x10, _GSS_S_DEFECTIVE_TOKEN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _GSS_S_DEFECTIVE_TOKEN@GOTPAGEOFF]
	tbnz	w9, #31, LBB0_16
; %bb.14:
	and	x12, x9, #0xff
	cmp	x11, x12
	b.lo	LBB0_16
; %bb.15:
	strb	w9, [x1]
	add	x8, x8, #2
	str	x8, [x1, #8]
Lloh7:
	adrp	x10, _GSS_S_COMPLETE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _GSS_S_COMPLETE@GOTPAGEOFF]
LBB0_16:
	ldr	w0, [x10]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_S_DEFECTIVE_TOKEN,4,2      ; @GSS_S_DEFECTIVE_TOKEN
	.comm	_GSS_S_COMPLETE,4,2             ; @GSS_S_COMPLETE
	.no_dead_strip	_parse_header
.subsections_via_symbols
