	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_peer_info_set_cms_algs   ## -- Begin function hx509_peer_info_set_cms_algs
	.p2align	4, 0x90
_hx509_peer_info_set_cms_algs:          ## @hx509_peer_info_set_cms_algs
	.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	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r15
	movl	%edi, %r14d
	movq	%rsi, %rdi
	callq	_free_cms_alg
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, (%r15)
	xorl	%r13d, %r13d
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.3:
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_copy_AlgorithmIdentifier
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.4:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	$4, %esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	decq	%rbx
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	4(%rsi), %r14
	leaq	(%r12,%rsi), %rdi
	addq	8(%r15), %rsi
	callq	_copy_AlgorithmIdentifier
	movq	%r14, %rsi
	testl	%eax, %eax
	je	LBB0_5
## %bb.8:
	movl	%eax, %r13d
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_9:
	movl	%r14d, %edi
	callq	_hx509_clear_error_string
	movq	%r15, %rdi
	callq	_free_cms_alg
	jmp	LBB0_10
LBB0_1:
	movq	$0, (%r15)
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rcx
	movl	%r14d, %edi
	xorl	%esi, %esi
	callq	_hx509_set_error_string
	movl	(%rbx), %r13d
LBB0_10:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%r13d, %r13d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hx509_peer_info_set_cms_algs   ; -- Begin function hx509_peer_info_set_cms_algs
	.p2align	2
_hx509_peer_info_set_cms_algs:          ; @hx509_peer_info_set_cms_algs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_free_cms_alg
	mov	x0, x21
	mov	w1, #4
	bl	_calloc
	mov	x1, x0
	str	x0, [x20, #8]
	cbz	x0, LBB0_8
; %bb.1:
	str	x21, [x20]
	cbz	x21, LBB0_9
; %bb.2:
	mov	x0, x22
	bl	_copy_AlgorithmIdentifier
	mov	x23, x0
	cbnz	w0, LBB0_7
; %bb.3:
	mov	w8, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	subs	x21, x21, #1
	b.eq	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x8, #4
	ldr	x9, [x20, #8]
	add	x0, x22, x8
	add	x1, x9, x8
	bl	_copy_AlgorithmIdentifier
	mov	x8, x24
	cbz	w0, LBB0_4
; %bb.6:
	mov	x23, x0
LBB0_7:
	mov	x0, x19
	bl	_hx509_clear_error_string
	mov	x0, x20
	bl	_free_cms_alg
	b	LBB0_10
LBB0_8:
	str	xzr, [x20]
Lloh0:
	adrp	x20, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ENOMEM@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh2:
	adrp	x3, l_.str@PAGE
Lloh3:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_hx509_set_error_string
	ldr	w23, [x20]
	b	LBB0_10
LBB0_9:
	mov	w23, #0
LBB0_10:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory"

.subsections_via_symbols
