	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ts_RESP_check_request
_ts_RESP_check_request:                 ## @ts_RESP_check_request
	.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	%rdi, %r12
	movq	8(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_TS_REQ_get_version
	cmpl	$1, %eax
	jne	LBB0_9
## %bb.1:
	movq	(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	8(%rax), %edi
	callq	_OBJ_obj2nid
	movl	%eax, %r15d
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_sk_EVP_MD_num
	cmpl	%eax, %ebx
	jge	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	movl	%ebx, %esi
	callq	_sk_EVP_MD_value
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_EVP_MD_type
	incl	%ebx
	cmpl	%eax, %r15d
	jne	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	je	LBB0_2
## %bb.5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_ASN1_TYPE_get
	movq	_V_ASN1_NULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
LBB0_7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movq	%r13, %rdi
	callq	_EVP_MD_size
	movq	%rax, %rcx
	movl	$1, %eax
	cmpq	%rcx, %rbx
	je	LBB0_14
## %bb.8:
	movq	_TS_INFO_BAD_DATA_FORMAT@GOTPCREL(%rip), %rbx
	leaq	L_.str.3(%rip), %r14
	jmp	LBB0_13
LBB0_9:
	movq	_TS_INFO_BAD_REQUEST@GOTPCREL(%rip), %rbx
	leaq	L_.str(%rip), %r14
	jmp	LBB0_13
LBB0_11:
	leaq	L_.str.2(%rip), %r14
LBB0_12:
	movq	_TS_INFO_BAD_ALG@GOTPCREL(%rip), %rbx
LBB0_13:
	movq	_TS_STATUS_REJECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_TS_RESP_CTX_set_status_info
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_TS_RESP_CTX_add_failure_info
	xorl	%eax, %eax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TS_STATUS_REJECTION,4,2        ## @TS_STATUS_REJECTION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad request version."

	.comm	_TS_INFO_BAD_REQUEST,4,2        ## @TS_INFO_BAD_REQUEST
L_.str.1:                               ## @.str.1
	.asciz	"Message digest algorithm is not supported."

	.comm	_TS_INFO_BAD_ALG,4,2            ## @TS_INFO_BAD_ALG
	.comm	_V_ASN1_NULL,8,3                ## @V_ASN1_NULL
L_.str.2:                               ## @.str.2
	.asciz	"Superfluous message digest parameter."

L_.str.3:                               ## @.str.3
	.asciz	"Bad message digest."

	.comm	_TS_INFO_BAD_DATA_FORMAT,4,2    ## @TS_INFO_BAD_DATA_FORMAT
	.no_dead_strip	_ts_RESP_check_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ts_RESP_check_request
_ts_RESP_check_request:                 ; @ts_RESP_check_request
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x20, [x0, #8]
	mov	x0, x20
	bl	_TS_REQ_get_version
	cmp	w0, #1
	b.ne	LBB0_8
; %bb.1:
	ldr	x25, [x20]
	ldr	x26, [x25, #8]
	ldr	w0, [x26, #8]
	bl	_OBJ_obj2nid
	mov	x21, x0
	mov	w22, #0
Lloh0:
	adrp	x24, _TS_INFO_BAD_ALG@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TS_INFO_BAD_ALG@GOTPAGEOFF]
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	bl	_sk_EVP_MD_num
	cmp	w22, w0
	b.ge	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19]
	mov	x1, x22
	bl	_sk_EVP_MD_value
	mov	x23, x0
	bl	_EVP_MD_type
	add	w22, w22, #1
	cmp	w21, w0
	ccmp	x23, #0, #4, eq
	b.eq	LBB0_2
; %bb.4:
	ldr	x0, [x26]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_ASN1_TYPE_get
Lloh4:
	adrp	x8, _V_ASN1_NULL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _V_ASN1_NULL@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
LBB0_6:
	ldr	x8, [x25]
	ldr	x20, [x8]
	mov	x0, x23
	bl	_EVP_MD_size
	cmp	x20, x0
	b.ne	LBB0_12
; %bb.7:
	mov	w0, #1
	b	LBB0_10
LBB0_8:
Lloh7:
	adrp	x24, _TS_INFO_BAD_REQUEST@GOTPAGE
Lloh8:
	ldr	x24, [x24, _TS_INFO_BAD_REQUEST@GOTPAGEOFF]
Lloh9:
	adrp	x20, l_.str@PAGE
Lloh10:
	add	x20, x20, l_.str@PAGEOFF
LBB0_9:
Lloh11:
	adrp	x8, _TS_STATUS_REJECTION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TS_STATUS_REJECTION@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_TS_RESP_CTX_set_status_info
	ldr	w1, [x24]
	mov	x0, x19
	bl	_TS_RESP_CTX_add_failure_info
	mov	w0, #0
LBB0_10:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh14:
	adrp	x24, _TS_INFO_BAD_ALG@GOTPAGE
Lloh15:
	ldr	x24, [x24, _TS_INFO_BAD_ALG@GOTPAGEOFF]
Lloh16:
	adrp	x20, l_.str.2@PAGE
Lloh17:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_12:
Lloh18:
	adrp	x24, _TS_INFO_BAD_DATA_FORMAT@GOTPAGE
Lloh19:
	ldr	x24, [x24, _TS_INFO_BAD_DATA_FORMAT@GOTPAGEOFF]
Lloh20:
	adrp	x20, l_.str.3@PAGE
Lloh21:
	add	x20, x20, l_.str.3@PAGEOFF
	b	LBB0_9
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_TS_STATUS_REJECTION,4,2        ; @TS_STATUS_REJECTION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad request version."

	.comm	_TS_INFO_BAD_REQUEST,4,2        ; @TS_INFO_BAD_REQUEST
l_.str.1:                               ; @.str.1
	.asciz	"Message digest algorithm is not supported."

	.comm	_TS_INFO_BAD_ALG,4,2            ; @TS_INFO_BAD_ALG
	.comm	_V_ASN1_NULL,8,3                ; @V_ASN1_NULL
l_.str.2:                               ; @.str.2
	.asciz	"Superfluous message digest parameter."

l_.str.3:                               ; @.str.3
	.asciz	"Bad message digest."

	.comm	_TS_INFO_BAD_DATA_FORMAT,4,2    ; @TS_INFO_BAD_DATA_FORMAT
	.no_dead_strip	_ts_RESP_check_request
.subsections_via_symbols
