	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TS_RESP_CTX_set_signer_cert    ## -- Begin function TS_RESP_CTX_set_signer_cert
	.p2align	4, 0x90
_TS_RESP_CTX_set_signer_cert:           ## @TS_RESP_CTX_set_signer_cert
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_X509_PURPOSE_TIMESTAMP_SIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_X509_check_purpose
	cmpl	$1, %eax
	jne	LBB0_1
## %bb.2:
	movq	(%r15), %rdi
	callq	_X509_free
	movq	%rbx, (%r15)
	movq	%rbx, %rdi
	callq	_X509_up_ref
	movl	$1, %r14d
	jmp	LBB0_3
LBB0_1:
	movq	_TS_F_TS_RESP_CTX_SET_SIGNER_CERT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TS_R_INVALID_SIGNER_CERTIFICATE_PURPOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_TSerr
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_PURPOSE_TIMESTAMP_SIGN,4,2 ## @X509_PURPOSE_TIMESTAMP_SIGN
	.comm	_TS_F_TS_RESP_CTX_SET_SIGNER_CERT,4,2 ## @TS_F_TS_RESP_CTX_SET_SIGNER_CERT
	.comm	_TS_R_INVALID_SIGNER_CERTIFICATE_PURPOSE,4,2 ## @TS_R_INVALID_SIGNER_CERTIFICATE_PURPOSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TS_RESP_CTX_set_signer_cert    ; -- Begin function TS_RESP_CTX_set_signer_cert
	.p2align	2
_TS_RESP_CTX_set_signer_cert:           ; @TS_RESP_CTX_set_signer_cert
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _X509_PURPOSE_TIMESTAMP_SIGN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X509_PURPOSE_TIMESTAMP_SIGN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_X509_check_purpose
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [x20]
	bl	_X509_free
	str	x19, [x20]
	mov	x0, x19
	bl	_X509_up_ref
	mov	w0, #1
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _TS_F_TS_RESP_CTX_SET_SIGNER_CERT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TS_F_TS_RESP_CTX_SET_SIGNER_CERT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _TS_R_INVALID_SIGNER_CERTIFICATE_PURPOSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TS_R_INVALID_SIGNER_CERTIFICATE_PURPOSE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_TSerr
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_PURPOSE_TIMESTAMP_SIGN,4,2 ; @X509_PURPOSE_TIMESTAMP_SIGN
	.comm	_TS_F_TS_RESP_CTX_SET_SIGNER_CERT,4,2 ; @TS_F_TS_RESP_CTX_SET_SIGNER_CERT
	.comm	_TS_R_INVALID_SIGNER_CERTIFICATE_PURPOSE,4,2 ; @TS_R_INVALID_SIGNER_CERTIFICATE_PURPOSE
.subsections_via_symbols
