	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function callb
_callb:                                 ## @callb
	.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	%rsi, %r12
	movl	%edi, %ebx
	movq	%rsi, %rdi
	callq	_X509_STORE_CTX_get_error
	movl	%eax, %r15d
	movq	_X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT@GOTPCREL(%rip), %rax
	movl	$1, %r14d
	cmpl	(%rax), %r15d
	je	LBB0_4
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.2:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_4
LBB0_3:
	movq	%r12, %rdi
	callq	_X509_STORE_CTX_get_current_cert
	movq	_bio_err@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movq	%rax, %rdi
	callq	_X509_get_subject_name
	movl	%ebx, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_print_name
	movl	(%r13), %r13d
	movq	%r12, %rdi
	callq	_X509_STORE_CTX_get_error_depth
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_X509_verify_cert_error_string
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT,4,2 ## @X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT
	.comm	_bio_err,4,2                    ## @bio_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error with certificate to be certified - should be self signed\n"

L_.str.1:                               ## @.str.1
	.asciz	"error with certificate - error %d at depth %d\n%s\n"

	.no_dead_strip	_callb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function callb
_callb:                                 ; @callb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_X509_STORE_CTX_get_error
Lloh0:
	adrp	x8, _X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_4
; %bb.1:
	cbz	w21, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _bio_err@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_printf
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	mov	x19, x0
	mov	x0, x20
	bl	_X509_STORE_CTX_get_current_cert
Lloh8:
	adrp	x22, _bio_err@GOTPAGE
Lloh9:
	ldr	x22, [x22, _bio_err@GOTPAGEOFF]
	ldr	w21, [x22]
	bl	_X509_get_subject_name
	mov	x2, x0
	mov	x0, x21
	mov	x1, #0
	mov	w3, #0
	bl	_print_name
	ldr	w21, [x22]
	mov	x0, x20
	bl	_X509_STORE_CTX_get_error_depth
	mov	x20, x0
	mov	x0, x19
	bl	_X509_verify_cert_error_string
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp, #8]
	str	x19, [sp]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_BIO_printf
LBB0_4:
	mov	w0, #1
LBB0_5:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT,4,2 ; @X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT
	.comm	_bio_err,4,2                    ; @bio_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error with certificate to be certified - should be self signed\n"

l_.str.1:                               ; @.str.1
	.asciz	"error with certificate - error %d at depth %d\n%s\n"

	.no_dead_strip	_callb
.subsections_via_symbols
