	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_properties
_add_properties:                        ## @add_properties
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movl	(%rax), %r14d
	movq	_prop_id_map@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r14
	xorl	%ebx, %ebx
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_HeapFree
	movl	-52(%rbp), %r14d                ## 4-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movl	(%rax,%r12), %edx
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_add_string_id_and_value_to_list
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	addq	$32, %r12
	cmpq	%rax, %r13
	jae	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	24(%rax,%r12), %esi
	movl	%r14d, %edi
	xorl	%edx, %edx
	leaq	-48(%rbp), %rcx
	callq	_CertGetCertificateContextProperty
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-48(%rbp), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	(%r15), %rax
	movl	24(%rax,%r12), %esi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	leaq	-48(%rbp), %rcx
	callq	_CertGetCertificateContextProperty
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rcx
	cmpq	$0, 16(%rcx,%r12)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	*8(%rcx,%r12)
	movq	%rbx, %r14
	movq	%rax, %rbx
	jmp	LBB0_10
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_prop_id_map,8,3                ## @prop_id_map
	.no_dead_strip	_add_properties
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_properties
_add_properties:                        ; @add_properties
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1]
	ldr	w21, [x8]
Lloh0:
	adrp	x24, _prop_id_map@GOTPAGE
Lloh1:
	ldr	x24, [x24, _prop_id_map@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cbz	x0, LBB0_12
; %bb.1:
	mov	x25, #0
	mov	x26, #0
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x22
	mov	x22, #0
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x23
	bl	_HeapFree
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24]
	ldr	w2, [x8, x25]
	mov	x0, x20
	mov	x1, x19
	mov	x3, x22
	mov	x4, #0
	mov	x5, #0
	bl	_add_string_id_and_value_to_list
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x26, x26, #1
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	add	x25, x25, #32
	cmp	x26, x0
	b.hs	LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	add	x8, x8, x25
	ldr	w1, [x8, #24]
	add	x3, sp, #8
	mov	x0, x21
	mov	x2, #0
	bl	_CertGetCertificateContextProperty
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_GetProcessHeap
	ldr	x2, [sp, #8]
	mov	w1, #0
	bl	_HeapAlloc
	mov	x22, x0
	cbz	x0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24]
	add	x8, x8, x25
	ldr	w1, [x8, #24]
	add	x3, sp, #8
	mov	x0, x21
	mov	x2, x22
	bl	_CertGetCertificateContextProperty
	cbz	x0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24]
	add	x8, x8, x25
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, #0
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x8, #8]
	ldr	x1, [sp, #8]
	mov	x0, x22
	blr	x8
	mov	x23, x22
	mov	x22, x0
	b	LBB0_3
LBB0_12:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_prop_id_map,8,3                ; @prop_id_map
	.no_dead_strip	_add_properties
.subsections_via_symbols
