	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_ocsp_basic
_parse_ocsp_basic:                      ## @parse_ocsp_basic
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_decode_OCSPResponse
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.1:
	cmpq	%r15, -56(%rbp)
	jne	LBB0_2
## %bb.3:
	cmpl	$128, -48(%rbp)
	jne	LBB0_4
## %bb.5:
	movq	-40(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	addq	$16, %rdi
	movq	_asn1_oid_id_pkix_ocsp_basic@GOTPCREL(%rip), %rsi
	callq	_der_heim_oid_cmp
	testl	%eax, %eax
	je	LBB0_8
LBB0_4:
	leaq	-48(%rbp), %rdi
	callq	_free_OCSPResponse
	movq	_HX509_REVOKE_WRONG_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_2:
	leaq	-48(%rbp), %rdi
	callq	_free_OCSPResponse
LBB0_12:
	movq	_ASN1_EXTRA_DATA@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	-48(%rbp), %rdi
	callq	_free_OCSPResponse
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_8:
	movq	-40(%rbp), %rax
	movl	8(%rax), %edi
	movq	(%rax), %rsi
	leaq	-56(%rbp), %rcx
	movq	%r14, %rdx
	callq	_decode_OCSPBasicOCSPResponse
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %ebx
	leaq	-48(%rbp), %rdi
	callq	_free_OCSPResponse
	jmp	LBB0_14
LBB0_10:
	movq	-56(%rbp), %r15
	movq	-40(%rbp), %rax
	movq	(%rax), %r12
	leaq	-48(%rbp), %rdi
	callq	_free_OCSPResponse
	xorl	%ebx, %ebx
	cmpq	%r12, %r15
	je	LBB0_14
## %bb.11:
	movq	%r14, %rdi
	callq	_free_OCSPBasicOCSPResponse
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ASN1_EXTRA_DATA,4,2            ## @ASN1_EXTRA_DATA
	.comm	_HX509_REVOKE_WRONG_DATA,4,2    ## @HX509_REVOKE_WRONG_DATA
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_asn1_oid_id_pkix_ocsp_basic,4,2 ## @asn1_oid_id_pkix_ocsp_basic
	.no_dead_strip	_parse_ocsp_basic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_ocsp_basic
_parse_ocsp_basic:                      ; @parse_ocsp_basic
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x2
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	bl	_decode_OCSPResponse
	mov	x20, x0
	cbnz	w0, LBB0_9
; %bb.1:
	ldr	x8, [sp, #8]
	cmp	x8, x21
	b.ne	LBB0_6
; %bb.2:
	ldr	w8, [sp, #16]
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_10
; %bb.4:
	add	x0, x8, #16
Lloh0:
	adrp	x1, _asn1_oid_id_pkix_ocsp_basic@GOTPAGE
Lloh1:
	ldr	x1, [x1, _asn1_oid_id_pkix_ocsp_basic@GOTPAGEOFF]
	bl	_der_heim_oid_cmp
	cbz	w0, LBB0_11
LBB0_5:
	add	x0, sp, #16
	bl	_free_OCSPResponse
Lloh2:
	adrp	x8, _HX509_REVOKE_WRONG_DATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HX509_REVOKE_WRONG_DATA@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	add	x0, sp, #16
	bl	_free_OCSPResponse
LBB0_7:
Lloh4:
	adrp	x8, _ASN1_EXTRA_DATA@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ASN1_EXTRA_DATA@GOTPAGEOFF]
LBB0_8:
	ldr	w20, [x8]
LBB0_9:
	mov	x0, x20
	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
LBB0_10:
	add	x0, sp, #16
	bl	_free_OCSPResponse
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_11:
	ldr	x8, [sp, #24]
	ldr	w0, [x8, #8]
	ldr	x1, [x8]
	add	x3, sp, #8
	mov	x2, x19
	bl	_decode_OCSPBasicOCSPResponse
	cbz	w0, LBB0_13
; %bb.12:
	mov	x20, x0
	add	x0, sp, #16
	bl	_free_OCSPResponse
	b	LBB0_9
LBB0_13:
	ldr	x20, [sp, #8]
	ldr	x8, [sp, #24]
	ldr	x21, [x8]
	add	x0, sp, #16
	bl	_free_OCSPResponse
	cmp	x20, x21
	b.ne	LBB0_15
; %bb.14:
	mov	w20, #0
	b	LBB0_9
LBB0_15:
	mov	x0, x19
	bl	_free_OCSPBasicOCSPResponse
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ASN1_EXTRA_DATA,4,2            ; @ASN1_EXTRA_DATA
	.comm	_HX509_REVOKE_WRONG_DATA,4,2    ; @HX509_REVOKE_WRONG_DATA
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_asn1_oid_id_pkix_ocsp_basic,4,2 ; @asn1_oid_id_pkix_ocsp_basic
	.no_dead_strip	_parse_ocsp_basic
.subsections_via_symbols
