	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypt_format_extension
_crypt_format_extension:                ## @crypt_format_extension
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_X509_ASN_ENCODING@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	8(%rbx), %r8d
	movl	(%rbx), %eax
	movl	4(%rbx), %r9d
	subq	$8, %rsp
	leaq	-44(%rbp), %r12
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	pushq	%r12
	pushq	$0
	pushq	%rax
	callq	_CryptFormatObject
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	-44(%rbp), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %r15
	movl	(%r13), %edi
	movl	8(%rbx), %r8d
	movl	(%rbx), %eax
	movl	4(%rbx), %r9d
	subq	$8, %rsp
	xorl	%esi, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	pushq	%r12
	pushq	%r15
	pushq	%rax
	callq	_CryptFormatObject
	addq	$32, %rsp
LBB0_2:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_ASN_ENCODING,4,2          ## @X509_ASN_ENCODING
	.no_dead_strip	_crypt_format_extension
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypt_format_extension
_crypt_format_extension:                ; @crypt_format_extension
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _X509_ASN_ENCODING@GOTPAGE
Lloh1:
	ldr	x22, [x22, _X509_ASN_ENCODING@GOTPAGEOFF]
	ldr	w0, [x22]
	ldp	w5, w4, [x20, #4]
	ldr	w6, [x20]
	add	x23, sp, #12
	str	x23, [sp]
	mov	w1, #0
	mov	x2, x19
	mov	x3, #0
	mov	x7, #0
	bl	_CryptFormatObject
	cbz	x0, LBB0_2
; %bb.1:
	bl	_GetProcessHeap
	ldr	w2, [sp, #12]
	mov	w1, #0
	bl	_HeapAlloc
	mov	x21, x0
	ldr	w0, [x22]
	ldp	w5, w4, [x20, #4]
	ldr	w6, [x20]
	str	x23, [sp]
	mov	w1, #0
	mov	x2, x19
	mov	x3, #0
	mov	x7, x21
	bl	_CryptFormatObject
	b	LBB0_3
LBB0_2:
	mov	x21, #0
LBB0_3:
	mov	x0, x21
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_ASN_ENCODING,4,2          ; @X509_ASN_ENCODING
	.no_dead_strip	_crypt_format_extension
.subsections_via_symbols
