	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reply_command
_reply_command:                         ## @reply_command
	.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	48(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_BIO_new_file
	testq	%rax, %rax
	je	LBB0_17
## %bb.2:
	movq	%rax, %r12
	movq	%rax, %rdi
	cmpl	$0, 56(%rbp)
	je	LBB0_7
## %bb.3:
	callq	_read_PKCS7
	jmp	LBB0_8
LBB0_4:
	pushq	40(%rbp)
	pushq	32(%rbp)
	pushq	24(%rbp)
	pushq	16(%rbp)
	callq	_create_response
	addq	$32, %rsp
	movq	%rax, %r14
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testq	%r14, %r14
	je	LBB0_16
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	callq	_BIO_printf
	xorl	%r12d, %r12d
	jmp	LBB0_9
LBB0_7:
	xorl	%esi, %esi
	callq	_d2i_TS_RESP_bio
LBB0_8:
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_18
LBB0_9:
	movl	72(%rbp), %r13d
	movq	64(%rbp), %rdi
	cmpl	$0, 80(%rbp)
	je	LBB0_13
## %bb.10:
	movq	_FORMAT_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$119, %esi
	callq	_bio_open_default
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_19
## %bb.11:
	movq	%rax, %rbx
	testl	%r13d, %r13d
	je	LBB0_20
## %bb.12:
	movq	%r14, %rdi
	callq	_TS_RESP_get_tst_info
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_TS_TST_INFO_print_bio
	testl	%eax, %eax
	jne	LBB0_23
	jmp	LBB0_24
LBB0_13:
	movq	_FORMAT_ASN1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$119, %esi
	callq	_bio_open_default
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_19
## %bb.14:
	movq	%rax, %rbx
	testl	%r13d, %r13d
	je	LBB0_22
## %bb.15:
	movq	%r14, %rdi
	callq	_TS_RESP_get_token
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_i2d_PKCS7_bio
	testl	%eax, %eax
	jne	LBB0_23
	jmp	LBB0_24
LBB0_19:
	xorl	%ebx, %ebx
	jmp	LBB0_24
LBB0_16:
	leaq	L_.str.2(%rip), %rsi
	callq	_BIO_printf
LBB0_17:
	xorl	%r12d, %r12d
LBB0_18:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_24
LBB0_20:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_TS_RESP_print_bio
	testl	%eax, %eax
	je	LBB0_24
LBB0_23:
	movl	$1, %r15d
LBB0_24:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR_print_errors
	movq	%r12, %rdi
	callq	_BIO_free_all
	xorl	%edi, %edi
	callq	_BIO_free_all
	xorl	%edi, %edi
	callq	_BIO_free_all
	xorl	%edi, %edi
	callq	_BIO_free_all
	movq	%rbx, %rdi
	callq	_BIO_free_all
	movq	%r14, %rdi
	callq	_TS_RESP_free
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_i2d_TS_RESP_bio
	testl	%eax, %eax
	jne	LBB0_23
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rb"

	.comm	_bio_err,4,2                    ## @bio_err
L_.str.1:                               ## @.str.1
	.asciz	"Response has been generated.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Response is not generated.\n"

	.comm	_FORMAT_TEXT,4,2                ## @FORMAT_TEXT
	.comm	_FORMAT_ASN1,4,2                ## @FORMAT_ASN1
	.no_dead_strip	_reply_command
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reply_command
_reply_command:                         ; @reply_command
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x29, #32]
Lloh0:
	adrp	x23, _bio_err@GOTPAGE
Lloh1:
	ldr	x23, [x23, _bio_err@GOTPAGEOFF]
	cbz	x8, LBB0_4
; %bb.1:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_BIO_new_file
	mov	x20, x0
	cbz	x0, LBB0_6
; %bb.2:
	mov	x0, x20
	ldr	w8, [x29, #40]
	cbz	w8, LBB0_7
; %bb.3:
	bl	_read_PKCS7
	mov	x19, x0
	cbnz	x0, LBB0_8
	b	LBB0_16
LBB0_4:
	ldp	x9, x8, [x29, #16]
	stp	x9, x8, [sp]
	bl	_create_response
	mov	x19, x0
	ldr	w0, [x23]
	cbz	x19, LBB0_15
; %bb.5:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_BIO_printf
	mov	x20, #0
	b	LBB0_8
LBB0_6:
	mov	x19, #0
	b	LBB0_16
LBB0_7:
	mov	x1, #0
	bl	_d2i_TS_RESP_bio
	mov	x19, x0
	cbz	x0, LBB0_16
LBB0_8:
	ldp	w22, w8, [x29, #56]
	ldr	x0, [x29, #48]
	cbz	w8, LBB0_12
; %bb.9:
Lloh6:
	adrp	x8, _FORMAT_TEXT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FORMAT_TEXT@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	w1, #119
	bl	_bio_open_default
	mov	x21, x0
	cbz	x0, LBB0_17
; %bb.10:
	cbz	w22, LBB0_19
; %bb.11:
	mov	x0, x19
	bl	_TS_RESP_get_tst_info
	mov	x1, x0
	mov	x0, x21
	bl	_TS_TST_INFO_print_bio
	cbnz	w0, LBB0_21
	b	LBB0_17
LBB0_12:
Lloh9:
	adrp	x8, _FORMAT_ASN1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FORMAT_ASN1@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	w1, #119
	bl	_bio_open_default
	mov	x21, x0
	cbz	x0, LBB0_17
; %bb.13:
	cbz	w22, LBB0_20
; %bb.14:
	mov	x0, x19
	bl	_TS_RESP_get_token
	mov	x1, x0
	mov	x0, x21
	bl	_i2d_PKCS7_bio
	cbnz	w0, LBB0_21
	b	LBB0_17
LBB0_15:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_BIO_printf
	mov	x20, #0
LBB0_16:
	mov	x21, #0
LBB0_17:
	mov	w22, #0
LBB0_18:
	ldr	w0, [x23]
	bl	_ERR_print_errors
	mov	x0, x20
	bl	_BIO_free_all
	mov	x0, #0
	bl	_BIO_free_all
	mov	x0, #0
	bl	_BIO_free_all
	mov	x0, #0
	bl	_BIO_free_all
	mov	x0, x21
	bl	_BIO_free_all
	mov	x0, x19
	bl	_TS_RESP_free
	mov	x0, x22
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_19:
	mov	x0, x21
	mov	x1, x19
	bl	_TS_RESP_print_bio
	cbnz	w0, LBB0_21
	b	LBB0_17
LBB0_20:
	mov	x0, x21
	mov	x1, x19
	bl	_i2d_TS_RESP_bio
	cbz	w0, LBB0_17
LBB0_21:
	mov	w22, #1
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rb"

	.comm	_bio_err,4,2                    ; @bio_err
l_.str.1:                               ; @.str.1
	.asciz	"Response has been generated.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Response is not generated.\n"

	.comm	_FORMAT_TEXT,4,2                ; @FORMAT_TEXT
	.comm	_FORMAT_ASN1,4,2                ; @FORMAT_ASN1
	.no_dead_strip	_reply_command
.subsections_via_symbols
