	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_cert_dir
_add_cert_dir:                          ## @add_cert_dir
	.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	%edx, -44(%rbp)                 ## 4-byte Spill
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.1:
	movb	(%rsi), %al
	testb	%al, %al
	je	LBB0_22
## %bb.2:
	movq	%rdi, %r12
	movq	_LIST_SEPARATOR_CHAR@GOTPCREL(%rip), %r14
	movq	%rsi, %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$0, (%r15)
	je	LBB0_26
## %bb.4:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	1(%r15), %rsi
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movb	1(%r15), %al
	incq	%r15
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	testb	%al, %al
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	(%r14), %al
	jne	LBB0_5
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	subq	%rsi, %r13
	je	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r12), %rdi
	callq	_sk_BY_DIR_ENTRY_num
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jg	LBB0_11
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=2
	incl	%ebx
	movq	(%r12), %rdi
	callq	_sk_BY_DIR_ENTRY_num
	cmpl	%eax, %ebx
	jge	LBB0_13
LBB0_11:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rdi
	movl	%ebx, %esi
	callq	_sk_BY_DIR_ENTRY_value
	movq	16(%rax), %r14
	movq	%r14, %rdi
	callq	_strlen
	cmpq	%r13, %rax
	jne	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_10
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r12), %rdi
	callq	_sk_BY_DIR_ENTRY_num
	cmpl	%eax, %ebx
	movq	_LIST_SEPARATOR_CHAR@GOTPCREL(%rip), %r14
	jl	LBB0_3
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, (%r12)
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	callq	_sk_BY_DIR_ENTRY_new_null
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_21
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$24, %edi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
	movq	_by_dir_hash_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_sk_BY_DIR_HASH_new
	movq	%rax, 8(%rbx)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_OPENSSL_strndup
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_27
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_27
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r12), %rdi
	movq	%rbx, %rsi
	callq	_sk_BY_DIR_ENTRY_push
	testl	%eax, %eax
	jne	LBB0_3
## %bb.20:
	movq	%rbx, %rdi
	callq	_by_dir_entry_free
LBB0_21:
	movq	_X509_F_ADD_CERT_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_22:
	movq	_X509_F_ADD_CERT_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_X509_R_INVALID_DIRECTORY@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %esi
	callq	_X509err
LBB0_24:
	xorl	%eax, %eax
LBB0_25:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movl	$1, %eax
	jmp	LBB0_25
LBB0_27:
	movq	%rbx, %rdi
	callq	_by_dir_entry_free
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_F_ADD_CERT_DIR,4,2        ## @X509_F_ADD_CERT_DIR
	.comm	_X509_R_INVALID_DIRECTORY,4,2   ## @X509_R_INVALID_DIRECTORY
	.comm	_LIST_SEPARATOR_CHAR,1,0        ## @LIST_SEPARATOR_CHAR
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_by_dir_hash_cmp,4,2            ## @by_dir_hash_cmp
	.no_dead_strip	_add_cert_dir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_cert_dir
_add_cert_dir:                          ; @add_cert_dir
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x1, LBB0_24
; %bb.1:
	mov	x21, x1
	ldrb	w8, [x1]
	cbz	w8, LBB0_24
; %bb.2:
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x25, _LIST_SEPARATOR_CHAR@GOTPAGE
Lloh1:
	ldr	x25, [x25, _LIST_SEPARATOR_CHAR@GOTPAGEOFF]
Lloh2:
	adrp	x26, _by_dir_hash_cmp@GOTPAGE
Lloh3:
	ldr	x26, [x26, _by_dir_hash_cmp@GOTPAGEOFF]
	mov	x27, x21
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x27]
	cbz	w8, LBB0_28
; %bb.4:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x27, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x27, #1]!
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	cbz	w8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_5
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	subs	x22, x27, x21
	b.eq	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x20]
	bl	_sk_BY_DIR_ENTRY_num
	cmp	w0, #1
	b.lt	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w23, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	w23, w23, #1
	ldr	x0, [x20]
	bl	_sk_BY_DIR_ENTRY_num
	cmp	w23, w0
	b.ge	LBB0_15
LBB0_12:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x20]
	mov	x1, x23
	bl	_sk_BY_DIR_ENTRY_value
	ldr	x24, [x0, #16]
	mov	x0, x24
	bl	_strlen
	cmp	x0, x22
	b.ne	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	x0, x24
	mov	x1, x21
	mov	x2, x22
	bl	_strncmp
	cbnz	x0, LBB0_11
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w23, #0
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x20]
	bl	_sk_BY_DIR_ENTRY_num
	cmp	w23, w0
	b.lt	LBB0_3
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20]
	cbnz	x8, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	bl	_sk_BY_DIR_ENTRY_new_null
	str	x0, [x20]
	cbz	x0, LBB0_23
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #24
	bl	_OPENSSL_malloc
	cbz	x0, LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x0
	str	w19, [x0]
	ldr	w0, [x26]
	bl	_sk_BY_DIR_HASH_new
	str	x0, [x23, #8]
	mov	x0, x21
	mov	x1, x22
	bl	_OPENSSL_strndup
	str	x0, [x23, #16]
	cbz	x0, LBB0_29
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_29
; %bb.21:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x20]
	mov	x1, x23
	bl	_sk_BY_DIR_ENTRY_push
	cbnz	w0, LBB0_3
; %bb.22:
	mov	x0, x23
	bl	_by_dir_entry_free
LBB0_23:
Lloh4:
	adrp	x8, _X509_F_ADD_CERT_DIR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _X509_F_ADD_CERT_DIR@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
	b	LBB0_25
LBB0_24:
Lloh9:
	adrp	x8, _X509_F_ADD_CERT_DIR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _X509_F_ADD_CERT_DIR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _X509_R_INVALID_DIRECTORY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _X509_R_INVALID_DIRECTORY@GOTPAGEOFF]
LBB0_25:
	ldr	w1, [x8]
	bl	_X509err
LBB0_26:
	mov	w0, #0
LBB0_27:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_28:
	mov	w0, #1
	b	LBB0_27
LBB0_29:
	mov	x0, x23
	bl	_by_dir_entry_free
	b	LBB0_26
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_F_ADD_CERT_DIR,4,2        ; @X509_F_ADD_CERT_DIR
	.comm	_X509_R_INVALID_DIRECTORY,4,2   ; @X509_R_INVALID_DIRECTORY
	.comm	_LIST_SEPARATOR_CHAR,1,0        ; @LIST_SEPARATOR_CHAR
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_by_dir_hash_cmp,4,2            ; @by_dir_hash_cmp
	.no_dead_strip	_add_cert_dir
.subsections_via_symbols
