	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ts_RESP_create_tst_info
_ts_RESP_create_tst_info:               ## @ts_RESP_create_tst_info
	.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, %rbx
	movq	%rdi, %r15
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_TS_TST_INFO_new
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_23
## %bb.1:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_TS_TST_INFO_set_version
	testl	%eax, %eax
	je	LBB0_22
## %bb.2:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_TS_TST_INFO_set_policy_id
	testl	%eax, %eax
	je	LBB0_22
## %bb.3:
	movq	8(%r15), %rax
	movl	8(%rax), %esi
	movq	%r13, %rdi
	callq	_TS_TST_INFO_set_msg_imprint
	testl	%eax, %eax
	je	LBB0_22
## %bb.4:
	movl	48(%r15), %esi
	movq	%r15, %rdi
	callq	*56(%r15)
	testq	%rax, %rax
	je	LBB0_22
## %bb.5:
	movq	%rax, %r14
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_TS_TST_INFO_set_serial
	testl	%eax, %eax
	je	LBB0_23
## %bb.6:
	movl	32(%r15), %esi
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movq	%r15, %rdi
	callq	*40(%r15)
	testl	%eax, %eax
	je	LBB0_23
## %bb.7:
	movq	-64(%rbp), %rsi
	movq	-56(%rbp), %rdx
	movl	28(%r15), %ecx
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	callq	_TS_RESP_set_genTime_with_precision
	testq	%rax, %rax
	je	LBB0_28
## %bb.8:
	movq	%r13, %rdi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	callq	_TS_TST_INFO_set_time
	testl	%eax, %eax
	je	LBB0_24
## %bb.9:
	cmpl	$0, 24(%r15)
	jne	LBB0_12
## %bb.10:
	cmpl	$0, 20(%r15)
	jne	LBB0_12
## %bb.11:
	cmpl	$0, 16(%r15)
	je	LBB0_42
LBB0_12:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_TS_ACCURACY_new
	testq	%rax, %rax
	je	LBB0_29
## %bb.13:
	movq	%rax, %rbx
	movl	24(%r15), %esi
	testl	%esi, %esi
	je	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_TS_ACCURACY_set_seconds
	testl	%eax, %eax
	je	LBB0_25
LBB0_15:
	movl	20(%r15), %esi
	testl	%esi, %esi
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	callq	_TS_ACCURACY_set_millis
	testl	%eax, %eax
	je	LBB0_25
LBB0_17:
	movl	16(%r15), %esi
	testl	%esi, %esi
	je	LBB0_19
## %bb.18:
	movq	%rbx, %rdi
	callq	_TS_ACCURACY_set_micros
	testl	%eax, %eax
	je	LBB0_25
LBB0_19:
	testq	%rbx, %rbx
	je	LBB0_32
## %bb.20:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_TS_TST_INFO_set_accuracy
	testl	%eax, %eax
	jne	LBB0_33
	jmp	LBB0_25
LBB0_22:
	xorl	%r14d, %r14d
LBB0_23:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_24:
	xorl	%ebx, %ebx
LBB0_25:
	xorl	%r12d, %r12d
LBB0_26:
	movq	%r13, %rdi
	callq	_TS_TST_INFO_free
	movq	_TS_F_TS_RESP_CREATE_TST_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TS_R_TST_INFO_SETUP_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_TSerr
	movq	_TS_STATUS_REJECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	callq	_TS_RESP_CTX_set_status_info_cond
	xorl	%r13d, %r13d
LBB0_27:
	movq	%r12, %rdi
	callq	_GENERAL_NAME_free
	movq	%rbx, %rdi
	callq	_TS_ACCURACY_free
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ASN1_GENERALIZEDTIME_free
	movq	%r14, %rdi
	callq	_ASN1_INTEGER_free
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_29:
	xorl	%ebx, %ebx
	jmp	LBB0_26
LBB0_32:
	xorl	%ebx, %ebx
LBB0_33:
	movq	_TS_ORDERING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_35
## %bb.34:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_TS_TST_INFO_set_ordering
	testl	%eax, %eax
	je	LBB0_25
LBB0_35:
	movq	8(%r15), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_37
## %bb.36:
	movq	%r13, %rdi
	callq	_TS_TST_INFO_set_nonce
	testl	%eax, %eax
	je	LBB0_25
LBB0_37:
	movq	_TS_TSA_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_44
## %bb.38:
	xorl	%eax, %eax
	callq	_GENERAL_NAME_new
	testq	%rax, %rax
	je	LBB0_25
## %bb.39:
	movq	%rax, %r12
	movq	_GEN_DIRNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	movl	4(%r15), %edi
	callq	_X509_get_subject_name
	movl	%eax, %edi
	callq	_X509_NAME_dup
	movl	%eax, (%r12)
	testl	%eax, %eax
	je	LBB0_26
## %bb.40:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_TS_TST_INFO_set_tsa
	testl	%eax, %eax
	jne	LBB0_27
	jmp	LBB0_26
LBB0_42:
	xorl	%ebx, %ebx
	jmp	LBB0_15
LBB0_44:
	xorl	%r12d, %r12d
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_TS_ORDERING,4,2                ## @TS_ORDERING
	.comm	_TS_TSA_NAME,4,2                ## @TS_TSA_NAME
	.comm	_GEN_DIRNAME,4,2                ## @GEN_DIRNAME
	.comm	_TS_F_TS_RESP_CREATE_TST_INFO,4,2 ## @TS_F_TS_RESP_CREATE_TST_INFO
	.comm	_TS_R_TST_INFO_SETUP_ERROR,4,2  ## @TS_R_TST_INFO_SETUP_ERROR
	.comm	_TS_STATUS_REJECTION,4,2        ## @TS_STATUS_REJECTION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error during TSTInfo generation."

	.no_dead_strip	_ts_RESP_create_tst_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ts_RESP_create_tst_info
_ts_RESP_create_tst_info:               ; @ts_RESP_create_tst_info
	.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
	mov	x21, x1
	mov	x20, x0
	bl	_TS_TST_INFO_new
	mov	x19, x0
	cbz	x0, LBB0_29
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_TS_TST_INFO_set_version
	cbz	w0, LBB0_29
; %bb.2:
	mov	x0, x19
	mov	x1, x21
	bl	_TS_TST_INFO_set_policy_id
	cbz	w0, LBB0_29
; %bb.3:
	ldr	x8, [x20, #8]
	ldr	w1, [x8, #8]
	mov	x0, x19
	bl	_TS_TST_INFO_set_msg_imprint
	cbz	w0, LBB0_29
; %bb.4:
	ldr	x8, [x20, #56]
	ldr	w1, [x20, #48]
	mov	x0, x20
	blr	x8
	mov	x21, x0
	cbz	x0, LBB0_30
; %bb.5:
	mov	x0, x19
	mov	x1, x21
	bl	_TS_TST_INFO_set_serial
	cbz	w0, LBB0_30
; %bb.6:
	ldr	x8, [x20, #40]
	ldr	w1, [x20, #32]
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x20
	blr	x8
	cbz	w0, LBB0_30
; %bb.7:
	ldp	x2, x1, [sp]
	ldr	w3, [x20, #28]
	mov	x0, #0
	bl	_TS_RESP_set_genTime_with_precision
	mov	x22, x0
	cbz	x0, LBB0_31
; %bb.8:
	mov	x0, x19
	mov	x1, x22
	bl	_TS_TST_INFO_set_time
	cbz	w0, LBB0_31
; %bb.9:
	ldr	w8, [x20, #24]
	cbnz	w8, LBB0_12
; %bb.10:
	ldr	w8, [x20, #20]
	cbnz	w8, LBB0_12
; %bb.11:
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_35
LBB0_12:
	bl	_TS_ACCURACY_new
	mov	x23, x0
	cbz	x0, LBB0_32
; %bb.13:
	ldr	w1, [x20, #24]
	cbz	w1, LBB0_15
; %bb.14:
	mov	x0, x23
	bl	_TS_ACCURACY_set_seconds
	cbz	w0, LBB0_32
LBB0_15:
	ldr	w1, [x20, #20]
	cbz	w1, LBB0_17
LBB0_16:
	mov	x0, x23
	bl	_TS_ACCURACY_set_millis
	cbz	w0, LBB0_32
LBB0_17:
	ldr	w1, [x20, #16]
	cbz	w1, LBB0_19
; %bb.18:
	mov	x0, x23
	bl	_TS_ACCURACY_set_micros
	cbz	w0, LBB0_32
LBB0_19:
	cbz	x23, LBB0_21
; %bb.20:
	mov	x0, x19
	mov	x1, x23
	bl	_TS_TST_INFO_set_accuracy
	cbz	w0, LBB0_32
LBB0_21:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _TS_ORDERING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TS_ORDERING@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.22:
	mov	x0, x19
	mov	w1, #1
	bl	_TS_TST_INFO_set_ordering
	cbz	w0, LBB0_32
LBB0_23:
	ldr	x8, [x20, #8]
	ldr	x1, [x8]
	cbz	x1, LBB0_25
; %bb.24:
	mov	x0, x19
	bl	_TS_TST_INFO_set_nonce
	cbz	w0, LBB0_32
LBB0_25:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _TS_TSA_NAME@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TS_TSA_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_36
; %bb.26:
	bl	_GENERAL_NAME_new
	mov	x24, x0
	cbz	x0, LBB0_33
; %bb.27:
Lloh6:
	adrp	x8, _GEN_DIRNAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GEN_DIRNAME@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x24, #4]
	ldr	w0, [x20, #4]
	bl	_X509_get_subject_name
	bl	_X509_NAME_dup
	str	w0, [x24]
	cbz	w0, LBB0_33
; %bb.28:
	mov	x0, x19
	mov	x1, x24
	bl	_TS_TST_INFO_set_tsa
	cbnz	w0, LBB0_34
	b	LBB0_33
LBB0_29:
	mov	x21, #0
LBB0_30:
	mov	x22, #0
LBB0_31:
	mov	x23, #0
LBB0_32:
	mov	x24, #0
LBB0_33:
	mov	x0, x19
	bl	_TS_TST_INFO_free
Lloh9:
	adrp	x8, _TS_F_TS_RESP_CREATE_TST_INFO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TS_F_TS_RESP_CREATE_TST_INFO@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _TS_R_TST_INFO_SETUP_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TS_R_TST_INFO_SETUP_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_TSerr
Lloh15:
	adrp	x8, _TS_STATUS_REJECTION@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TS_STATUS_REJECTION@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str@PAGE
Lloh19:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_TS_RESP_CTX_set_status_info_cond
	mov	x19, #0
LBB0_34:
	mov	x0, x24
	bl	_GENERAL_NAME_free
	mov	x0, x23
	bl	_TS_ACCURACY_free
	mov	x0, x22
	bl	_ASN1_GENERALIZEDTIME_free
	mov	x0, x21
	bl	_ASN1_INTEGER_free
	mov	x0, x19
	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_35:
	mov	x23, #0
	ldr	w1, [x20, #20]
	cbnz	w1, LBB0_16
	b	LBB0_17
LBB0_36:
	mov	x24, #0
	b	LBB0_34
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_TS_ORDERING,4,2                ; @TS_ORDERING
	.comm	_TS_TSA_NAME,4,2                ; @TS_TSA_NAME
	.comm	_GEN_DIRNAME,4,2                ; @GEN_DIRNAME
	.comm	_TS_F_TS_RESP_CREATE_TST_INFO,4,2 ; @TS_F_TS_RESP_CREATE_TST_INFO
	.comm	_TS_R_TST_INFO_SETUP_ERROR,4,2  ; @TS_R_TST_INFO_SETUP_ERROR
	.comm	_TS_STATUS_REJECTION,4,2        ; @TS_STATUS_REJECTION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error during TSTInfo generation."

	.no_dead_strip	_ts_RESP_create_tst_info
.subsections_via_symbols
