	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_callback
_verify_callback:                       ## @verify_callback
	.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
	subq	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	%rsi, %rdi
	callq	_X509_STORE_CTX_get_current_cert
	movl	%eax, %edi
	callq	_X509_get_subject_name
	leaq	-288(%rbp), %rsi
	movl	%eax, %edi
	movl	$256, %edx                      ## imm = 0x100
	callq	_X509_NAME_oneline
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_X509_STORE_CTX_get_error_depth
	leaq	L_.str(%rip), %rdi
	leaq	-288(%rbp), %rdx
	movl	%eax, %esi
	callq	_printf
	jmp	LBB0_7
LBB0_4:
	testl	%ebx, %ebx
	jne	LBB0_7
	jmp	LBB0_5
LBB0_3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_X509_STORE_CTX_get_error_depth
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_X509_STORE_CTX_get_error
	leaq	L_.str.1(%rip), %rsi
	leaq	-288(%rbp), %r8
	movl	%r15d, %edi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_5:
	movq	%r14, %rdi
	callq	_X509_STORE_CTX_get_error
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	movl	$1, %ebx
	cmpl	$3, %ecx
	jb	LBB0_7
## %bb.6:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	%eax, %edi
	callq	_X509_verify_cert_error_string
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r14d, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%ebx, %eax
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"depth=%d %s\n"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"depth=%d error=%d %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"Error string: %s\n"

	.no_dead_strip	_verify_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_callback
_verify_callback:                       ; @verify_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	mov	x0, x1
	bl	_X509_STORE_CTX_get_current_cert
	bl	_X509_get_subject_name
	add	x1, sp, #24
	mov	w2, #256
	bl	_X509_NAME_oneline
	cbz	x0, LBB0_3
; %bb.1:
	cbz	w20, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_X509_STORE_CTX_get_error_depth
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #24
	bl	_printf
	b	LBB0_8
LBB0_3:
	cbnz	w20, LBB0_8
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_X509_STORE_CTX_get_error_depth
	mov	x21, x0
	mov	x0, x19
	bl	_X509_STORE_CTX_get_error
                                        ; kill: def $w0 killed $w0 def $x0
	add	x8, sp, #24
	stp	x0, x8, [sp, #8]
	str	x21, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_fprintf
LBB0_5:
	mov	x0, x19
	bl	_X509_STORE_CTX_get_error
	sub	w8, w0, #128
	cmp	w8, #3
	b.hs	LBB0_7
; %bb.6:
	mov	w20, #1
	b	LBB0_8
LBB0_7:
Lloh10:
	adrp	x8, _stderr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
	bl	_X509_verify_cert_error_string
	str	x0, [sp]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	mov	w20, #0
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x20
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"depth=%d %s\n"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"depth=%d error=%d %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"Error string: %s\n"

	.no_dead_strip	_verify_callback
.subsections_via_symbols
