	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_PKCS7
_read_PKCS7:                            ## @read_PKCS7
	.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
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_d2i_PKCS7_bio
	movb	$1, %r13b
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PKCS7_to_TS_TST_INFO
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %r14
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_TS_RESP_new
	testq	%rax, %rax
	je	LBB0_14
## %bb.3:
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_TS_STATUS_INFO_new
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %r12
	movq	_TS_STATUS_GRANTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_TS_STATUS_INFO_set_status
	testl	%eax, %eax
	je	LBB0_11
## %bb.5:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_TS_RESP_set_status_info
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_TS_RESP_set_tst_info
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_11
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_8:
	xorl	%r14d, %r14d
LBB0_9:
	xorl	%r15d, %r15d
LBB0_10:
	xorl	%r12d, %r12d
LBB0_11:
	movq	%rbx, %rdi
	callq	_PKCS7_free
	movq	%r14, %rdi
	callq	_TS_TST_INFO_free
	testb	%r13b, %r13b
	je	LBB0_13
## %bb.12:
	movq	%r15, %rdi
	callq	_TS_RESP_free
	xorl	%r15d, %r15d
LBB0_13:
	movq	%r12, %rdi
	callq	_TS_STATUS_INFO_free
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	xorl	%r15d, %r15d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_TS_STATUS_GRANTED,4,2          ## @TS_STATUS_GRANTED
	.no_dead_strip	_read_PKCS7
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_PKCS7
_read_PKCS7:                            ; @read_PKCS7
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x1, #0
	bl	_d2i_PKCS7_bio
	mov	x21, x0
	cbz	x0, LBB0_7
; %bb.1:
	mov	x0, x21
	bl	_PKCS7_to_TS_TST_INFO
	mov	x22, x0
	cbz	x0, LBB0_8
; %bb.2:
	bl	_TS_RESP_new
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.3:
	bl	_TS_STATUS_INFO_new
	mov	x20, x0
	cbz	x0, LBB0_10
; %bb.4:
Lloh0:
	adrp	x8, _TS_STATUS_GRANTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TS_STATUS_GRANTED@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_TS_STATUS_INFO_set_status
	cbz	w0, LBB0_10
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_TS_RESP_set_status_info
	cbz	w0, LBB0_10
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_TS_RESP_set_tst_info
	mov	w23, #0
	mov	x21, #0
	mov	x22, #0
	b	LBB0_11
LBB0_7:
	mov	x22, #0
LBB0_8:
	mov	x19, #0
LBB0_9:
	mov	x20, #0
LBB0_10:
	mov	w23, #1
LBB0_11:
	mov	x0, x21
	bl	_PKCS7_free
	mov	x0, x22
	bl	_TS_TST_INFO_free
	cbz	w23, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_TS_RESP_free
	mov	x19, #0
LBB0_13:
	mov	x0, x20
	bl	_TS_STATUS_INFO_free
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TS_STATUS_GRANTED,4,2          ; @TS_STATUS_GRANTED
	.no_dead_strip	_read_PKCS7
.subsections_via_symbols
