	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unparse_CMSIdentifier
_unparse_CMSIdentifier:                 ## @unparse_CMSIdentifier
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	$0, (%rdx)
	movl	(%rsi), %eax
	cmpl	$128, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_9
## %bb.2:
	leaq	16(%rbx), %rdi
	leaq	-40(%rbp), %rsi
	callq	__hx509_Name_to_string
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_12
## %bb.3:
	addq	$12, %rbx
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_der_print_hex_heim_integer
	movq	-40(%rbp), %rdx
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %r15d
	movq	%rdx, %rdi
	callq	_free
	jmp	LBB0_12
LBB0_6:
	movl	4(%rbx), %esi
	movl	8(%rbx), %edi
	leaq	-32(%rbp), %rdx
	callq	_hex_encode
	testl	%eax, %eax
	js	LBB0_11
## %bb.7:
	movq	-32(%rbp), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_asprintf
LBB0_8:
	movq	-32(%rbp), %rdi
	callq	_free
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_asprintf
LBB0_10:
	xorl	%r15d, %r15d
	cmpq	$0, (%r14)
	jne	LBB0_12
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_12:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	-32(%rbp), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_asprintf
	movq	-40(%rbp), %rdi
	callq	_free
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"certificate issued by %s with serial number %s"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"certificate with id %s"

L_.str.2:                               ## @.str.2
	.asciz	"certificate have unknown CMSidentifier type"

	.no_dead_strip	_unparse_CMSIdentifier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unparse_CMSIdentifier
_unparse_CMSIdentifier:                 ; @unparse_CMSIdentifier
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
	mov	x21, x1
	str	xzr, [x2]
	ldr	w8, [x1]
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_8
; %bb.2:
	add	x0, x21, #16
	add	x1, sp, #16
	bl	__hx509_Name_to_string
	mov	x20, x0
	cbnz	w0, LBB0_10
; %bb.3:
	add	x0, x21, #12
	add	x1, sp, #24
	bl	_der_print_hex_heim_integer
	mov	x20, x0
	ldr	x0, [sp, #16]
	cbz	w20, LBB0_12
; %bb.4:
	bl	_free
	b	LBB0_10
LBB0_5:
	ldp	w1, w0, [x21, #4]
	add	x2, sp, #24
	bl	_hex_encode
	tbnz	w0, #31, LBB0_11
; %bb.6:
	ldr	x8, [sp, #24]
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_asprintf
LBB0_7:
	ldr	x0, [sp, #24]
	bl	_free
	b	LBB0_9
LBB0_8:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_asprintf
LBB0_9:
	ldr	x8, [x19]
Lloh4:
	adrp	x9, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w20, w9, wzr, eq
LBB0_10:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
LBB0_11:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
	b	LBB0_10
LBB0_12:
	ldr	x8, [sp, #24]
	stp	x0, x8, [sp]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_asprintf
	ldr	x0, [sp, #16]
	bl	_free
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"certificate issued by %s with serial number %s"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"certificate with id %s"

l_.str.2:                               ; @.str.2
	.asciz	"certificate have unknown CMSidentifier type"

	.no_dead_strip	_unparse_CMSIdentifier
.subsections_via_symbols
