	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CRYPT_CopySignerCertInfo
_CRYPT_CopySignerCertInfo:              ## @CRYPT_CopySignerCertInfo
	.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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	(%r15), %rdx
	jmp	LBB0_3
LBB0_1:
	xorl	%edx, %edx
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_TRACE
	movq	(%rbx), %rax
	movq	_CERT_ID_ISSUER_SERIAL_NUMBER@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_5
## %bb.4:
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	addq	%rcx, %rax
	addq	$8, %rax
	xorl	%r12d, %r12d
	testq	%r14, %r14
	je	LBB0_7
LBB0_9:
	cmpq	%rax, (%r15)
	jge	LBB0_11
## %bb.10:
	movq	%rax, (%r15)
	movq	_ERROR_MORE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetLastError
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_14
LBB0_5:
	leaq	8(%rbx), %rdi
	callq	_CRYPT_SizeOfKeyIdAsIssuerAndSerial
	movq	%rax, %r12
	addq	$8, %rax
	testq	%r14, %r14
	jne	LBB0_9
LBB0_7:
	movq	%rax, (%r15)
	jmp	LBB0_8
LBB0_11:
	leaq	32(%r14), %rax
	movq	%rax, -48(%rbp)
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	(%rbx), %rax
	leaq	4(%r14), %rdi
	cmpq	(%r13), %rax
	jne	LBB0_13
## %bb.12:
	leaq	16(%rbx), %r15
	addq	$24, %rbx
	leaq	-48(%rbp), %r12
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_CRYPT_CopyBlob
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_CRYPT_CopyBlob
LBB0_8:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_14
LBB0_13:
	addq	$8, %rbx
	leaq	-48(%rbp), %r8
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_CRYPT_CopyKeyIdAsIssuerAndSerial
LBB0_14:
	movslq	%eax, %rbx
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_TRACE
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%p, %d, %p)\n"

	.comm	_CERT_ID_ISSUER_SERIAL_NUMBER,8,3 ## @CERT_ID_ISSUER_SERIAL_NUMBER
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_ERROR_MORE_DATA,4,2            ## @ERROR_MORE_DATA
	.comm	_FALSE,4,2                      ## @FALSE
L_.str.1:                               ## @.str.1
	.asciz	"returning %d\n"

	.no_dead_strip	_CRYPT_CopySignerCertInfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CRYPT_CopySignerCertInfo
_CRYPT_CopySignerCertInfo:              ; @CRYPT_CopySignerCertInfo
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	b	LBB0_3
LBB0_2:
	mov	x8, #0
LBB0_3:
	stp	x8, x20, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_TRACE
	ldr	x8, [x20]
Lloh2:
	adrp	x23, _CERT_ID_ISSUER_SERIAL_NUMBER@GOTPAGE
Lloh3:
	ldr	x23, [x23, _CERT_ID_ISSUER_SERIAL_NUMBER@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	mov	x22, #0
	ldp	x9, x8, [x20, #16]
	add	x8, x8, x9
	add	x8, x8, #8
	cbz	x19, LBB0_8
LBB0_5:
	ldr	x9, [x21]
	cmp	x9, x8
	b.ge	LBB0_9
; %bb.6:
	str	x8, [x21]
Lloh4:
	adrp	x8, _ERROR_MORE_DATA@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERROR_MORE_DATA@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_SetLastError
Lloh7:
	adrp	x8, _FALSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh9:
	ldr	w19, [x8]
	b	LBB0_13
LBB0_7:
	add	x0, x20, #8
	bl	_CRYPT_SizeOfKeyIdAsIssuerAndSerial
	mov	x22, x0
	add	x8, x0, #8
	cbnz	x19, LBB0_5
LBB0_8:
	str	x8, [x21]
	b	LBB0_11
LBB0_9:
	add	x8, x19, #32
	str	x8, [sp, #24]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x8, [x20]
	ldr	x9, [x23]
	add	x0, x19, #4
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.10:
	add	x21, x20, #16
	add	x1, x20, #24
	add	x2, sp, #24
	bl	_CRYPT_CopyBlob
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x21
	bl	_CRYPT_CopyBlob
LBB0_11:
Lloh10:
	adrp	x8, _TRUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
	b	LBB0_13
LBB0_12:
	add	x2, x20, #8
	add	x4, sp, #24
	mov	x1, x19
	mov	x3, x22
	bl	_CRYPT_CopyKeyIdAsIssuerAndSerial
	mov	x19, x0
LBB0_13:
	sxtw	x1, w19
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%p, %d, %p)\n"

	.comm	_CERT_ID_ISSUER_SERIAL_NUMBER,8,3 ; @CERT_ID_ISSUER_SERIAL_NUMBER
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_ERROR_MORE_DATA,4,2            ; @ERROR_MORE_DATA
	.comm	_FALSE,4,2                      ; @FALSE
l_.str.1:                               ; @.str.1
	.asciz	"returning %d\n"

	.no_dead_strip	_CRYPT_CopySignerCertInfo
.subsections_via_symbols
