	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pass_manifest                  ## -- Begin function pass_manifest
	.p2align	4, 0x90
_pass_manifest:                         ## @pass_manifest
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	%rsp, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_br_sha256_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_strnlen
	cmpq	%rbx, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_strnlen
	cmpq	%rbx, %rax
	jne	LBB0_6
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
LBB0_4:
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_20
## %bb.5:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	-64(%rbp), %rsi
	movq	%r13, %rdi
	callq	_stat
	testl	%eax, %eax
	jne	LBB0_4
## %bb.7:
	movl	-60(%rbp), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	je	LBB0_2
## %bb.8:
	leaq	-64(%rbp), %rdi
	callq	_is_verified
	movq	_VE_NOT_CHECKED@GOTPCREL(%rip), %rdx
	movq	_VE_VERIFIED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	cmpl	(%rdx), %eax
	je	LBB0_11
## %bb.9:
	cmpl	%ecx, %eax
	je	LBB0_11
## %bb.10:
	movq	_EPERM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_11:
	cmpl	%ecx, %eax
	jne	LBB0_13
## %bb.12:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_read_file
	jmp	LBB0_14
LBB0_13:
	movq	_VEF_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_verify_signed
LBB0_14:
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movl	(%rbx), %esi
	leaq	-64(%rbp), %rdi
	movq	%rax, %rbx
	callq	_add_verify_status
	leaq	-56(%rbp), %rdi
	movq	_br_sha256_vtable@GOTPCREL(%rip), %rax
	callq	*16(%rax)
	movl	-64(%rbp), %edx
	leaq	-56(%rbp), %rdi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	movq	_br_sha256_vtable@GOTPCREL(%rip), %rbx
	callq	*8(%rbx)
	leaq	-56(%rbp), %rdi
	movq	%r14, %rsi
	callq	*(%rbx)
	movq	_manifest_prefix@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%r15, %r15
	je	LBB0_18
## %bb.16:
	movq	%r15, %rsi
	callq	_strcpy
	jmp	LBB0_19
LBB0_17:
	movq	_VE_FINGERPRINT_WRONG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdi
	callq	_add_verify_status
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_18:
	movb	$0, (%rdi)
LBB0_19:
	movq	_manifest_path@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r13, %rsi
	callq	_strcpy
	movq	_manifest_hash@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	_br_sha256_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	leal	(%rcx,%rcx), %esi
	addl	$2, %esi
	movq	%r14, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_hexdigest
	movq	(%r15), %rax
	movslq	(%rbx), %rcx
	movb	$0, (%rax,%rcx,2)
	movq	_manifest_present@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_br_sha256_SIZE,4,2             ## @br_sha256_SIZE
	.comm	_br_sha256_vtable,24,3          ## @br_sha256_vtable
	.comm	_MAXPATHLEN,8,3                 ## @MAXPATHLEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_VE_NOT_CHECKED,4,2             ## @VE_NOT_CHECKED
	.comm	_VE_VERIFIED,4,2                ## @VE_VERIFIED
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_VEF_VERBOSE,4,2                ## @VEF_VERBOSE
	.comm	_VE_FINGERPRINT_WRONG,4,2       ## @VE_FINGERPRINT_WRONG
	.comm	_EIO,4,2                        ## @EIO
	.comm	_manifest_prefix,8,3            ## @manifest_prefix
	.comm	_manifest_path,8,3              ## @manifest_path
	.comm	_manifest_hash,8,3              ## @manifest_hash
	.comm	_manifest_present,4,2           ## @manifest_present
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pass_manifest                  ; -- Begin function pass_manifest
	.p2align	2
_pass_manifest:                         ; @pass_manifest
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #32
	mov	x21, x1
	mov	x19, x0
	mov	x23, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x24, _br_sha256_SIZE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _br_sha256_SIZE@GOTPAGEOFF]
	ldr	w8, [x24]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh7:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh9:
	ldr	x22, [x8]
	mov	x1, x22
	bl	_strnlen
	cmp	x0, x22
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x22
	bl	_strnlen
	cmp	x0, x22
	b.ne	LBB0_6
LBB0_2:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
LBB0_4:
	mov	sp, x23
	ldur	x8, [x29, #-72]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.5:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	sub	x1, x29, #80
	mov	x0, x19
	bl	_stat
	cbnz	w0, LBB0_4
; %bb.7:
	ldur	w0, [x29, #-76]
	bl	_S_ISREG
	cbz	w0, LBB0_2
; %bb.8:
	sub	x0, x29, #80
	bl	_is_verified
Lloh15:
	adrp	x8, _VE_NOT_CHECKED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VE_NOT_CHECKED@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x8]
Lloh18:
	adrp	x25, _VE_VERIFIED@GOTPAGE
Lloh19:
	ldr	x25, [x25, _VE_VERIFIED@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w0, w9
	ccmp	w0, w8, #4, ne
	b.ne	LBB0_11
; %bb.9:
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.10:
	mov	x0, x19
	mov	x1, #0
	bl	_read_file
	b	LBB0_13
LBB0_11:
Lloh20:
	adrp	x8, _EPERM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_3
LBB0_12:
Lloh22:
	adrp	x8, _VEF_VERBOSE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _VEF_VERBOSE@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_verify_signed
LBB0_13:
	mov	x22, x0
	cbz	x0, LBB0_16
; %bb.14:
	ldr	w1, [x25]
	sub	x0, x29, #80
	bl	_add_verify_status
Lloh25:
	adrp	x25, _br_sha256_vtable@GOTPAGE
Lloh26:
	ldr	x25, [x25, _br_sha256_vtable@GOTPAGEOFF]
	ldr	x8, [x25, #16]
	sub	x0, x29, #88
	blr	x8
	ldr	x8, [x25, #8]
	ldur	w2, [x29, #-80]
	sub	x0, x29, #88
	mov	x1, x22
	blr	x8
	ldr	x8, [x25]
	sub	x0, x29, #88
	mov	x1, x20
	blr	x8
Lloh27:
	adrp	x8, _manifest_prefix@GOTPAGE
Lloh28:
	ldr	x8, [x8, _manifest_prefix@GOTPAGEOFF]
Lloh29:
	ldr	x0, [x8]
	cbz	x21, LBB0_17
; %bb.15:
	mov	x1, x21
	bl	_strcpy
	b	LBB0_18
LBB0_16:
Lloh30:
	adrp	x8, _VE_FINGERPRINT_WRONG@GOTPAGE
Lloh31:
	ldr	x8, [x8, _VE_FINGERPRINT_WRONG@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	sub	x0, x29, #80
	bl	_add_verify_status
Lloh33:
	adrp	x8, _EIO@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_3
LBB0_17:
	strb	wzr, [x0]
LBB0_18:
Lloh35:
	adrp	x8, _manifest_path@GOTPAGE
Lloh36:
	ldr	x8, [x8, _manifest_path@GOTPAGEOFF]
Lloh37:
	ldr	x0, [x8]
	mov	x1, x19
	bl	_strcpy
Lloh38:
	adrp	x19, _manifest_hash@GOTPAGE
Lloh39:
	ldr	x19, [x19, _manifest_hash@GOTPAGEOFF]
	ldr	x0, [x19]
	ldr	w3, [x24]
	lsl	w8, w3, #1
	add	w1, w8, #2
	mov	x2, x20
	bl	_hexdigest
	ldr	x8, [x19]
	ldrsw	x9, [x24]
	lsl	x9, x9, #1
	strb	wzr, [x8, x9]
Lloh40:
	adrp	x8, _manifest_present@GOTPAGE
Lloh41:
	ldr	x8, [x8, _manifest_present@GOTPAGEOFF]
	mov	w9, #1
Lloh42:
	str	w9, [x8]
	mov	x0, x22
	bl	_free
	mov	w0, #0
	b	LBB0_4
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_br_sha256_SIZE,4,2             ; @br_sha256_SIZE
	.comm	_br_sha256_vtable,24,3          ; @br_sha256_vtable
	.comm	_MAXPATHLEN,8,3                 ; @MAXPATHLEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_VE_NOT_CHECKED,4,2             ; @VE_NOT_CHECKED
	.comm	_VE_VERIFIED,4,2                ; @VE_VERIFIED
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_VEF_VERBOSE,4,2                ; @VEF_VERBOSE
	.comm	_VE_FINGERPRINT_WRONG,4,2       ; @VE_FINGERPRINT_WRONG
	.comm	_EIO,4,2                        ; @EIO
	.comm	_manifest_prefix,8,3            ; @manifest_prefix
	.comm	_manifest_path,8,3              ; @manifest_path
	.comm	_manifest_hash,8,3              ; @manifest_hash
	.comm	_manifest_present,4,2           ; @manifest_present
.subsections_via_symbols
