	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function int_ts_RESP_verify_token
_int_ts_RESP_verify_token:              ## @int_ts_RESP_verify_token
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r13
	movq	$0, -56(%rbp)
	movq	(%rdx), %r14
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movl	$0, -44(%rbp)
	movl	(%rdi), %ebx
	movq	_TS_VFY_SIGNER@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	testq	%r14, %r14
	jne	LBB0_4
LBB0_2:
	movq	_TS_VFY_TSA_NAME@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
LBB0_4:
	movq	_TS_VFY_SIGNATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, %ebx
	testl	%ebx, %eax
	je	LBB0_7
LBB0_6:
	movl	52(%r13), %edx
	movl	56(%r13), %eax
	leaq	-56(%rbp), %rcx
	movq	%rsi, %rdi
	movl	%eax, %esi
	callq	_TS_RESP_verify_signature
	testl	%eax, %eax
	je	LBB0_27
LBB0_7:
	movq	_TS_VFY_VERSION@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_10
## %bb.8:
	movq	%r15, %rdi
	callq	_TS_TST_INFO_get_version
	cmpl	$1, %eax
	jne	LBB0_9
LBB0_10:
	movq	_TS_VFY_POLICY@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.11:
	movl	48(%r13), %edi
	movq	%r15, %rsi
	callq	_ts_check_policy
	testl	%eax, %eax
	je	LBB0_27
LBB0_12:
	movq	_TS_VFY_IMPRINT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_14
## %bb.13:
	movq	40(%r13), %rdi
	movq	8(%r13), %rsi
	movl	16(%r13), %edx
	movq	%r15, %rcx
	callq	_ts_check_imprints
	testl	%eax, %eax
	je	LBB0_27
LBB0_14:
	movq	_TS_VFY_DATA@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_17
## %bb.15:
	movl	36(%r13), %edi
	leaq	-72(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	leaq	-44(%rbp), %r8
	movq	%r15, %rsi
	callq	_ts_compute_imprint
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_28
## %bb.16:
	movq	-72(%rbp), %rdi
	movq	-64(%rbp), %rsi
	movl	-44(%rbp), %edx
	movq	%r15, %rcx
	callq	_ts_check_imprints
	testl	%eax, %eax
	je	LBB0_28
LBB0_17:
	movq	_TS_VFY_NONCE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_19
## %bb.18:
	movl	32(%r13), %edi
	movq	%r15, %rsi
	callq	_ts_check_nonces
	testl	%eax, %eax
	je	LBB0_27
LBB0_19:
	movq	_TS_VFY_SIGNER@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_23
## %bb.20:
	testq	%r14, %r14
	je	LBB0_23
## %bb.21:
	movq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ts_check_signer_name
	testl	%eax, %eax
	je	LBB0_22
LBB0_23:
	movq	_TS_VFY_TSA_NAME@GOTPCREL(%rip), %rax
	movl	$1, %r12d
	testl	%ebx, (%rax)
	je	LBB0_28
## %bb.24:
	movq	24(%r13), %rdi
	movq	-56(%rbp), %rsi
	callq	_ts_check_signer_name
	testl	%eax, %eax
	jne	LBB0_28
## %bb.25:
	movq	_TS_R_TSA_UNTRUSTED@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_9:
	movq	_TS_R_UNSUPPORTED_VERSION@GOTPCREL(%rip), %rax
LBB0_26:
	movq	_TS_F_INT_TS_RESP_VERIFY_TOKEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rax), %esi
	callq	_TSerr
LBB0_27:
	xorl	%r12d, %r12d
LBB0_28:
	movq	-56(%rbp), %rdi
	callq	_X509_free
	movq	-72(%rbp), %rdi
	callq	_X509_ALGOR_free
	movq	-64(%rbp), %rdi
	callq	_OPENSSL_free
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_TS_VFY_SIGNATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ebx, %eax
	jne	LBB0_6
	jmp	LBB0_7
LBB0_22:
	movq	_TS_R_TSA_NAME_MISMATCH@GOTPCREL(%rip), %rax
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_TS_VFY_SIGNER,4,2              ## @TS_VFY_SIGNER
	.comm	_TS_VFY_TSA_NAME,4,2            ## @TS_VFY_TSA_NAME
	.comm	_TS_VFY_SIGNATURE,4,2           ## @TS_VFY_SIGNATURE
	.comm	_TS_VFY_VERSION,4,2             ## @TS_VFY_VERSION
	.comm	_TS_F_INT_TS_RESP_VERIFY_TOKEN,4,2 ## @TS_F_INT_TS_RESP_VERIFY_TOKEN
	.comm	_TS_R_UNSUPPORTED_VERSION,4,2   ## @TS_R_UNSUPPORTED_VERSION
	.comm	_TS_VFY_POLICY,4,2              ## @TS_VFY_POLICY
	.comm	_TS_VFY_IMPRINT,4,2             ## @TS_VFY_IMPRINT
	.comm	_TS_VFY_DATA,4,2                ## @TS_VFY_DATA
	.comm	_TS_VFY_NONCE,4,2               ## @TS_VFY_NONCE
	.comm	_TS_R_TSA_NAME_MISMATCH,4,2     ## @TS_R_TSA_NAME_MISMATCH
	.comm	_TS_R_TSA_UNTRUSTED,4,2         ## @TS_R_TSA_UNTRUSTED
	.no_dead_strip	_int_ts_RESP_verify_token
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function int_ts_RESP_verify_token
_int_ts_RESP_verify_token:              ; @int_ts_RESP_verify_token
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x2
	mov	x19, x0
	stp	xzr, xzr, [sp, #16]
	ldr	x20, [x2]
	str	xzr, [sp, #8]
	str	wzr, [sp, #4]
	ldr	w22, [x0]
Lloh0:
	adrp	x23, _TS_VFY_SIGNER@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TS_VFY_SIGNER@GOTPAGEOFF]
	ldr	w8, [x23]
	and	w8, w8, w22
	cmp	w8, #0
	ccmp	x20, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _TS_VFY_TSA_NAME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TS_VFY_TSA_NAME@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_24
LBB0_2:
Lloh5:
	adrp	x8, _TS_VFY_SIGNATURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TS_VFY_SIGNATURE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w22, w8, w22
	tst	w8, w22
	b.eq	LBB0_4
LBB0_3:
	ldp	w2, w8, [x19, #52]
	add	x3, sp, #24
	mov	x0, x1
	mov	x1, x8
	bl	_TS_RESP_verify_signature
	cbz	w0, LBB0_22
LBB0_4:
Lloh8:
	adrp	x8, _TS_VFY_VERSION@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TS_VFY_VERSION@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x21
	bl	_TS_TST_INFO_get_version
	cmp	w0, #1
	b.ne	LBB0_20
LBB0_6:
Lloh11:
	adrp	x8, _TS_VFY_POLICY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TS_VFY_POLICY@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x19, #48]
	mov	x1, x21
	bl	_ts_check_policy
	cbz	w0, LBB0_22
LBB0_8:
Lloh14:
	adrp	x8, _TS_VFY_IMPRINT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TS_VFY_IMPRINT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_10
; %bb.9:
	ldr	x0, [x19, #40]
	ldr	x1, [x19, #8]
	ldr	w2, [x19, #16]
	mov	x3, x21
	bl	_ts_check_imprints
	cbz	w0, LBB0_22
LBB0_10:
Lloh17:
	adrp	x8, _TS_VFY_DATA@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TS_VFY_DATA@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_13
; %bb.11:
	ldr	w0, [x19, #36]
	add	x2, sp, #16
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x1, x21
	bl	_ts_compute_imprint
	cbz	w0, LBB0_22
; %bb.12:
	ldp	x1, x0, [sp, #8]
	ldr	w2, [sp, #4]
	mov	x3, x21
	bl	_ts_check_imprints
	cbz	w0, LBB0_22
LBB0_13:
Lloh20:
	adrp	x8, _TS_VFY_NONCE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TS_VFY_NONCE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_15
; %bb.14:
	ldr	w0, [x19, #32]
	mov	x1, x21
	bl	_ts_check_nonces
	cbz	w0, LBB0_22
LBB0_15:
	ldr	w8, [x23]
	and	w8, w8, w22
	cmp	w8, #0
	ccmp	x20, #0, #4, ne
	b.eq	LBB0_17
; %bb.16:
	ldr	x1, [sp, #24]
	mov	x0, x20
	bl	_ts_check_signer_name
	cbz	w0, LBB0_25
LBB0_17:
Lloh23:
	adrp	x8, _TS_VFY_TSA_NAME@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TS_VFY_TSA_NAME@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_19
; %bb.18:
	ldr	x0, [x19, #24]
	ldr	x1, [sp, #24]
	bl	_ts_check_signer_name
	cbz	w0, LBB0_26
LBB0_19:
	mov	w19, #1
	b	LBB0_23
LBB0_20:
Lloh26:
	adrp	x8, _TS_R_UNSUPPORTED_VERSION@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TS_R_UNSUPPORTED_VERSION@GOTPAGEOFF]
LBB0_21:
Lloh28:
	adrp	x9, _TS_F_INT_TS_RESP_VERIFY_TOKEN@GOTPAGE
Lloh29:
	ldr	x9, [x9, _TS_F_INT_TS_RESP_VERIFY_TOKEN@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x9]
	ldr	w1, [x8]
	bl	_TSerr
LBB0_22:
	mov	w19, #0
LBB0_23:
	ldr	x0, [sp, #24]
	bl	_X509_free
	ldr	x0, [sp, #16]
	bl	_X509_ALGOR_free
	ldr	x0, [sp, #8]
	bl	_OPENSSL_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
	add	sp, sp, #96
	ret
LBB0_24:
Lloh31:
	adrp	x8, _TS_VFY_SIGNATURE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _TS_VFY_SIGNATURE@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	tst	w8, w22
	b.ne	LBB0_3
	b	LBB0_4
LBB0_25:
Lloh34:
	adrp	x8, _TS_R_TSA_NAME_MISMATCH@GOTPAGE
Lloh35:
	ldr	x8, [x8, _TS_R_TSA_NAME_MISMATCH@GOTPAGEOFF]
	b	LBB0_21
LBB0_26:
Lloh36:
	adrp	x8, _TS_R_TSA_UNTRUSTED@GOTPAGE
Lloh37:
	ldr	x8, [x8, _TS_R_TSA_UNTRUSTED@GOTPAGEOFF]
	b	LBB0_21
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_TS_VFY_SIGNER,4,2              ; @TS_VFY_SIGNER
	.comm	_TS_VFY_TSA_NAME,4,2            ; @TS_VFY_TSA_NAME
	.comm	_TS_VFY_SIGNATURE,4,2           ; @TS_VFY_SIGNATURE
	.comm	_TS_VFY_VERSION,4,2             ; @TS_VFY_VERSION
	.comm	_TS_F_INT_TS_RESP_VERIFY_TOKEN,4,2 ; @TS_F_INT_TS_RESP_VERIFY_TOKEN
	.comm	_TS_R_UNSUPPORTED_VERSION,4,2   ; @TS_R_UNSUPPORTED_VERSION
	.comm	_TS_VFY_POLICY,4,2              ; @TS_VFY_POLICY
	.comm	_TS_VFY_IMPRINT,4,2             ; @TS_VFY_IMPRINT
	.comm	_TS_VFY_DATA,4,2                ; @TS_VFY_DATA
	.comm	_TS_VFY_NONCE,4,2               ; @TS_VFY_NONCE
	.comm	_TS_R_TSA_NAME_MISMATCH,4,2     ; @TS_R_TSA_NAME_MISMATCH
	.comm	_TS_R_TSA_UNTRUSTED,4,2         ; @TS_R_TSA_UNTRUSTED
	.no_dead_strip	_int_ts_RESP_verify_token
.subsections_via_symbols
