	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cert_status_cb
_cert_status_cb:                        ## @cert_status_cb
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	_SSL_TLSEXT_ERR_ALERT_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	cmpq	$0, (%rsi)
	je	LBB0_2
## %bb.1:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_BIO_puts
LBB0_2:
	movq	8(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.3:
	movq	_FORMAT_ASN1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$114, %esi
	callq	_bio_open_default
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_d2i_OCSP_RESPONSE_bio
	movq	%rax, %r13
	movq	%rax, -48(%rbp)
	movq	%rbx, %rdi
	callq	_BIO_free
	testq	%r13, %r13
	jne	LBB0_8
## %bb.5:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_13
LBB0_6:
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_get_ocsp_resp_from_responder
	movl	%eax, %r14d
	movq	_SSL_TLSEXT_ERR_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_14
## %bb.7:
	movq	-48(%rbp), %r13
LBB0_8:
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdi
	callq	_i2d_OCSP_RESPONSE
	testl	%eax, %eax
	jle	LBB0_14
## %bb.9:
	movq	-56(%rbp), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_SSL_set_tlsext_status_ocsp_resp
	cmpq	$0, (%r12)
	je	LBB0_11
## %bb.10:
	movq	_bio_err@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_BIO_puts
	movl	(%rbx), %edi
	movq	-48(%rbp), %rsi
	movl	$2, %edx
	callq	_OCSP_RESPONSE_print
LBB0_11:
	movq	_SSL_TLSEXT_ERR_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_14
LBB0_12:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_13:
	callq	_BIO_puts
LBB0_14:
	movq	_SSL_TLSEXT_ERR_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	je	LBB0_16
## %bb.15:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR_print_errors
LBB0_16:
	movq	-48(%rbp), %rdi
	callq	_OCSP_RESPONSE_free
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_TLSEXT_ERR_ALERT_FATAL,4,2 ## @SSL_TLSEXT_ERR_ALERT_FATAL
	.comm	_bio_err,4,2                    ## @bio_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cert_status: callback called\n"

	.comm	_FORMAT_ASN1,4,2                ## @FORMAT_ASN1
L_.str.1:                               ## @.str.1
	.asciz	"cert_status: Cannot open OCSP response file\n"

L_.str.2:                               ## @.str.2
	.asciz	"cert_status: Error reading OCSP response\n"

	.comm	_SSL_TLSEXT_ERR_OK,4,2          ## @SSL_TLSEXT_ERR_OK
L_.str.3:                               ## @.str.3
	.asciz	"cert_status: ocsp response sent:\n"

	.no_dead_strip	_cert_status_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cert_status_cb
_cert_status_cb:                        ; @cert_status_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x1
	mov	x21, x0
	stp	xzr, xzr, [sp]
Lloh0:
	adrp	x8, _SSL_TLSEXT_ERR_ALERT_FATAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_TLSEXT_ERR_ALERT_FATAL@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	x8, [x1]
Lloh3:
	adrp	x24, _bio_err@GOTPAGE
Lloh4:
	ldr	x24, [x24, _bio_err@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x24]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_puts
LBB0_2:
	ldr	x0, [x20, #8]
Lloh7:
	adrp	x25, _SSL_TLSEXT_ERR_OK@GOTPAGE
Lloh8:
	ldr	x25, [x25, _SSL_TLSEXT_ERR_OK@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.3:
Lloh9:
	adrp	x8, _FORMAT_ASN1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FORMAT_ASN1@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	w1, #114
	bl	_bio_open_default
	cbz	x0, LBB0_12
; %bb.4:
	mov	x23, x0
	mov	x1, #0
	bl	_d2i_OCSP_RESPONSE_bio
	mov	x22, x0
	str	x0, [sp, #8]
	mov	x0, x23
	bl	_BIO_free
	cbnz	x22, LBB0_8
; %bb.5:
	ldr	w0, [x24]
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_13
LBB0_6:
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_get_ocsp_resp_from_responder
	mov	x19, x0
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_14
; %bb.7:
	ldr	x22, [sp, #8]
LBB0_8:
	mov	x1, sp
	mov	x0, x22
	bl	_i2d_OCSP_RESPONSE
	cmp	w0, #1
	b.lt	LBB0_14
; %bb.9:
	mov	x2, x0
	ldr	x1, [sp]
	mov	x0, x21
	bl	_SSL_set_tlsext_status_ocsp_resp
	ldr	x8, [x20]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	w0, [x24]
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_BIO_puts
	ldr	w0, [x24]
	ldr	x1, [sp, #8]
	mov	w2, #2
	bl	_OCSP_RESPONSE_print
LBB0_11:
	ldr	w19, [x25]
	b	LBB0_14
LBB0_12:
	ldr	w0, [x24]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_13:
	bl	_BIO_puts
LBB0_14:
	ldr	w8, [x25]
	cmp	w19, w8
	b.eq	LBB0_16
; %bb.15:
	ldr	w0, [x24]
	bl	_ERR_print_errors
LBB0_16:
	ldr	x0, [sp, #8]
	bl	_OCSP_RESPONSE_free
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_TLSEXT_ERR_ALERT_FATAL,4,2 ; @SSL_TLSEXT_ERR_ALERT_FATAL
	.comm	_bio_err,4,2                    ; @bio_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cert_status: callback called\n"

	.comm	_FORMAT_ASN1,4,2                ; @FORMAT_ASN1
l_.str.1:                               ; @.str.1
	.asciz	"cert_status: Cannot open OCSP response file\n"

l_.str.2:                               ; @.str.2
	.asciz	"cert_status: Error reading OCSP response\n"

	.comm	_SSL_TLSEXT_ERR_OK,4,2          ; @SSL_TLSEXT_ERR_OK
l_.str.3:                               ; @.str.3
	.asciz	"cert_status: ocsp response sent:\n"

	.no_dead_strip	_cert_status_cb
.subsections_via_symbols
