	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_verify_sig                     ## -- Begin function verify_sig
	.p2align	4, 0x90
_verify_sig:                            ## @verify_sig
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	$5, %edi
	movq	%r15, %rsi
	callq	_DEBUG_PRINTF
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_strlcpy
	addq	$-5, %r12
	cmpq	%r12, %rax
	ja	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	leaq	(%r15,%rax), %rdi
	addq	$-3, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.2:
	addq	$-3, %rbx
	movw	$115, 4(%r14,%rbx)
	movl	$1953654115, (%r14,%rbx)        ## imm = 0x74726563
	movl	$50615555, -132(%rbp)           ## imm = 0x3045503
	leaq	-132(%rbp), %rax
	movq	%rax, -168(%rbp)
	leaq	-128(%rbp), %r15
	movq	%r15, -160(%rbp)
	movl	$80, -152(%rbp)
	leaq	-168(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_verify_signer
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	testq	%rbx, %rbx
	jle	LBB0_8
## %bb.4:
	addq	%r14, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$46, (%rbx)
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	decq	%rbx
	cmpq	%r14, %rbx
	ja	LBB0_5
	jmp	LBB0_8
LBB0_12:
	xorl	%eax, %eax
	callq	_ve_error_get
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	jmp	LBB0_9
LBB0_6:
	movb	$0, (%rbx)
LBB0_8:
	movq	%rax, %rdi
	callq	_xfreepkey
	cmpq	$0, -144(%rbp)
	leaq	L_.str.5(%rip), %rax
	cmoveq	%rax, %r15
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
LBB0_9:
	callq	_printf
LBB0_10:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.11:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"sig"

L_.str.2:                               ## @.str.2
	.asciz	"certs"

L_.str.3:                               ## @.str.3
	.asciz	"cannot verify: %s: %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"Unverified %s (%s)\n"

L_.str.5:                               ## @.str.5
	.asciz	"unknown"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_verify_sig                     ; -- Begin function verify_sig
	.p2align	2
_verify_sig:                            ; @verify_sig
	.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
	sub	sp, sp, #128
	mov	x20, x0
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	mov	w0, #5
	mov	x1, x20
	bl	_DEBUG_PRINTF
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_strlcpy
	sub	x8, x21, #5
	cmp	x0, x8
	b.hi	LBB0_10
; %bb.1:
	sub	x21, x0, #3
	add	x0, x20, x21
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_10
; %bb.2:
	add	x20, x19, x21
	mov	w8, #115
	strh	w8, [x20, #4]
	mov	w8, #25955
	movk	w8, #29810, lsl #16
	str	w8, [x20]
	mov	w8, #21763
	movk	w8, #772, lsl #16
	stur	w8, [x29, #-156]
	sub	x8, x29, #156
	sub	x9, x29, #120
	stp	x8, x9, [x29, #-152]
	mov	w8, #80
	stur	w8, [x29, #-136]
	sub	x1, x29, #152
	mov	x0, x19
	mov	w2, #1
	bl	_verify_signer
	cbz	x0, LBB0_6
; %bb.3:
	cmp	x21, #1
	b.lt	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20]
	cmp	w8, #46
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x20, x20, #1
	cmp	x20, x19
	b.hi	LBB0_4
	b	LBB0_8
LBB0_6:
	bl	_ve_error_get
	mov	x2, x0
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_7:
	strb	wzr, [x20]
LBB0_8:
	bl	_xfreepkey
	ldur	x8, [x29, #-128]
Lloh12:
	adrp	x9, l_.str.5@PAGE
Lloh13:
	add	x9, x9, l_.str.5@PAGEOFF
	sub	x10, x29, #120
	cmp	x8, #0
	csel	x2, x9, x10, eq
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_9:
	mov	x1, x19
	bl	_printf
LBB0_10:
	mov	sp, x22
	ldur	x8, [x29, #-40]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, #0
	sub	sp, x29, #32
	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_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"sig"

l_.str.2:                               ; @.str.2
	.asciz	"certs"

l_.str.3:                               ; @.str.3
	.asciz	"cannot verify: %s: %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"Unverified %s (%s)\n"

l_.str.5:                               ; @.str.5
	.asciz	"unknown"

.subsections_via_symbols
