	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cert_by_subject
_get_cert_by_subject:                   ## @get_cert_by_subject
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r13
	movq	%rsi, -144(%rbp)
	movq	_X509_LU_X509@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	jne	LBB0_4
## %bb.3:
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	%r13, -104(%rbp)
	leaq	-104(%rbp), %rax
	movq	%rax, -152(%rbp)
	leaq	L_.str(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_44
LBB0_4:
	movq	_X509_LU_CRL@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_8
## %bb.5:
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	%r13, -104(%rbp)
	leaq	-104(%rbp), %rax
	movq	%rax, -160(%rbp)
	leaq	L_.str.1(%rip), %rax
LBB0_6:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BUF_MEM_new
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:
	movq	%rax, %r15
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	%r13, %rdi
	movq	%rax, %r13
	callq	_X509_NAME_hash
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %edi
	callq	_sk_BY_DIR_ENTRY_num
	testl	%eax, %eax
	jle	LBB0_43
## %bb.11:
	xorl	%ebx, %ebx
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	movl	4(%r13), %edi
	movl	%ebx, %esi
	callq	_sk_BY_DIR_ENTRY_value
	movq	%rax, %r14
	movq	(%rax), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	17(%rax), %esi
	movq	%r15, %rdi
	callq	_BUF_MEM_grow
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_X509_LU_CRL@GOTPCREL(%rip), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	movl	%ebx, -108(%rbp)                ## 4-byte Spill
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpq	$0, 8(%r14)
	movq	_X509_LU_X509@GOTPCREL(%rip), %r13
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -136(%rbp)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_CRYPTO_THREAD_read_lock
	movq	8(%r14), %rdi
	leaq	-136(%rbp), %rsi
	callq	_sk_BY_DIR_HASH_find
	testl	%eax, %eax
	js	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	8(%r14), %rdi
	movl	%eax, %esi
	callq	_sk_BY_DIR_HASH_value
	movq	%rax, %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	8(%rax), %r12d
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_X509_LU_X509@GOTPCREL(%rip), %r13
	jmp	LBB0_22
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_22
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=1
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_21:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_CRYPTO_THREAD_unlock
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=2
	movl	(%r15), %esi
	movl	16(%r14), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_X509_load_cert_file
	testq	%rax, %rax
	jne	LBB0_28
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15), %edi
	movl	4(%r15), %esi
	movq	(%r14), %rcx
	leaq	L_.str.3(%rip), %rdx
	movl	$47, %r8d
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	xorl	%eax, %eax
	pushq	%r12
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_BIO_snprintf
	addq	$16, %rsp
	movl	(%r15), %edi
	leaq	-96(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	js	LBB0_29
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%r13)
	je	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=2
	movq	_X509_LU_CRL@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_22 Depth=2
	movl	(%r15), %esi
	movl	16(%r14), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_X509_load_crl_file
	testq	%rax, %rax
	je	LBB0_29
LBB0_28:                                ##   in Loop: Header=BB0_22 Depth=2
	incl	%r12d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rdi
	callq	_X509_STORE_lock
	movq	(%r13), %rax
	movl	(%rax), %edi
	leaq	-160(%rbp), %rsi
	callq	_sk_X509_OBJECT_find
	movq	(%r13), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_sk_X509_OBJECT_value
	movq	%rax, %rbx
	movq	(%r13), %rdi
	callq	_X509_STORE_unlock
	movq	_X509_LU_CRL@GOTPCREL(%rip), %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_39
## %bb.30:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r13), %edi
	callq	_CRYPTO_THREAD_write_lock
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_36
## %bb.31:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -136(%rbp)
	movq	8(%r14), %rdi
	leaq	-136(%rbp), %rsi
	callq	_sk_BY_DIR_HASH_find
	movq	8(%r14), %rdi
	movl	%eax, %esi
	callq	_sk_BY_DIR_HASH_value
	testq	%rax, %rax
	je	LBB0_32
LBB0_36:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpl	%r12d, 8(%rax)
	jge	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%r12d, 8(%rax)
	jmp	LBB0_38
LBB0_32:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	$16, %edi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_33
## %bb.34:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	%r12d, 8(%rcx)
	movq	8(%r14), %rdi
	movq	%rcx, %r14
	movq	%rcx, %rsi
	callq	_sk_BY_DIR_HASH_push
	testl	%eax, %eax
	je	LBB0_35
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r13), %edi
	callq	_CRYPTO_THREAD_unlock
LBB0_39:                                ##   in Loop: Header=BB0_12 Depth=1
	testq	%rbx, %rbx
	jne	LBB0_40
## %bb.41:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	-108(%rbp), %ebx                ## 4-byte Reload
	incl	%ebx
	movl	4(%r13), %edi
	callq	_sk_BY_DIR_ENTRY_num
	cmpl	%eax, %ebx
	jl	LBB0_12
	jmp	LBB0_42
LBB0_7:
	movq	_X509_F_GET_CERT_BY_SUBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_BUF_LIB@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_X509_F_GET_CERT_BY_SUBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_X509_R_WRONG_LOOKUP_TYPE@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	callq	_X509err
	xorl	%r15d, %r15d
LBB0_42:
	xorl	%r14d, %r14d
LBB0_43:
	movq	%r15, %rdi
	callq	_BUF_MEM_free
LBB0_44:
	movl	%r14d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	movq	16(%rbx), %rax
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%rax, 16(%rdi)
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_memcpy
	xorl	%eax, %eax
	callq	_ERR_clear_error
	movl	$1, %r14d
	jmp	LBB0_43
LBB0_33:
	movl	(%r13), %edi
	callq	_CRYPTO_THREAD_unlock
	jmp	LBB0_13
LBB0_35:
	movl	(%r13), %edi
	callq	_CRYPTO_THREAD_unlock
	movq	%r14, %rdi
	callq	_OPENSSL_free
LBB0_13:
	movq	_X509_F_GET_CERT_BY_SUBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_X509err
	jmp	LBB0_42
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_X509_LU_X509,8,3               ## @X509_LU_X509
	.comm	_X509_LU_CRL,8,3                ## @X509_LU_CRL
L_.str.1:                               ## @.str.1
	.asciz	"r"

	.comm	_X509_F_GET_CERT_BY_SUBJECT,4,2 ## @X509_F_GET_CERT_BY_SUBJECT
	.comm	_X509_R_WRONG_LOOKUP_TYPE,4,2   ## @X509_R_WRONG_LOOKUP_TYPE
	.comm	_ERR_R_BUF_LIB,4,2              ## @ERR_R_BUF_LIB
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
L_.str.3:                               ## @.str.3
	.asciz	"%s%c%08lx.%s%d"

	.no_dead_strip	_get_cert_by_subject
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cert_by_subject
_get_cert_by_subject:                   ; @get_cert_by_subject
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x2, LBB0_3
; %bb.1:
	mov	x20, x3
	mov	x23, x2
	mov	x21, x1
	mov	x22, x0
	str	x1, [sp, #96]
Lloh0:
	adrp	x28, _X509_LU_X509@GOTPAGE
Lloh1:
	ldr	x28, [x28, _X509_LU_X509@GOTPAGEOFF]
	ldr	x8, [x28]
	cmp	x8, x1
	b.ne	LBB0_4
; %bb.2:
	stur	x23, [x29, #-88]
	sub	x8, x29, #88
	str	x8, [sp, #88]
Lloh2:
	adrp	x27, l_.str@PAGE
Lloh3:
	add	x27, x27, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:
	mov	w20, #0
	b	LBB0_43
LBB0_4:
Lloh4:
	adrp	x8, _X509_LU_CRL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _X509_LU_CRL@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_35
; %bb.5:
	stur	x23, [x29, #-88]
	sub	x8, x29, #88
	str	x8, [sp, #80]
Lloh7:
	adrp	x27, l_.str.1@PAGE
Lloh8:
	add	x27, x27, l_.str.1@PAGEOFF
LBB0_6:
	bl	_BUF_MEM_new
	mov	x19, x0
	cbz	x0, LBB0_34
; %bb.7:
	ldr	x24, [x22, #8]
	mov	x0, x23
	bl	_X509_NAME_hash
	mov	x23, x0
	str	x24, [sp, #48]                  ; 8-byte Folded Spill
	ldr	w0, [x24, #4]
	bl	_sk_BY_DIR_ENTRY_num
	cmp	w0, #1
	b.lt	LBB0_41
; %bb.8:
	str	x20, [sp, #32]                  ; 8-byte Folded Spill
	mov	w24, #0
Lloh9:
	adrp	x25, l_.str.3@PAGE
Lloh10:
	add	x25, x25, l_.str.3@PAGEOFF
	ldr	x20, [sp, #48]                  ; 8-byte Folded Reload
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	ldr	w0, [x20, #4]
	mov	x1, x24
	bl	_sk_BY_DIR_ENTRY_value
	mov	x26, x0
	ldr	x0, [x0]
	bl	_strlen
	add	w1, w0, #17
	mov	x0, x19
	bl	_BUF_MEM_grow
	cbz	w0, LBB0_39
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh11:
	adrp	x8, _X509_LU_CRL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _X509_LU_CRL@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x26, #8]
	cbz	x8, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	str	x23, [sp, #64]
	ldr	w0, [x20]
	bl	_CRYPTO_THREAD_read_lock
	ldr	x0, [x26, #8]
	add	x1, sp, #64
	bl	_sk_BY_DIR_HASH_find
	tbnz	w0, #31, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x1, x0
	ldr	x0, [x26, #8]
	bl	_sk_BY_DIR_HASH_value
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	ldr	w20, [x0, #8]
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	w20, #0
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	w20, #0
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_CRYPTO_THREAD_unlock
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	ldp	w0, w1, [x19]
	mov	x8, x20
	ldr	x3, [x26]
	str	x8, [sp, #16]
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=2
	ldr	w1, [x19]
	ldr	w2, [x26, #16]
	mov	x0, x22
	bl	_X509_load_cert_file
	cbz	x0, LBB0_24
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=2
	add	w20, w20, #1
	ldp	w0, w1, [x19]
	ldr	x3, [x26]
	str	x20, [sp, #16]
LBB0_20:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	x23, x27, [sp]
	mov	x2, x25
	mov	w4, #47
	bl	_BIO_snprintf
	ldr	w0, [x19]
	add	x1, sp, #56
	bl	_stat
	tbnz	x0, #63, LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	x8, [x28]
	cmp	x8, x21
	b.eq	LBB0_18
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=2
Lloh14:
	adrp	x8, _X509_LU_CRL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _X509_LU_CRL@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_19
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=2
	ldr	w1, [x19]
	ldr	w2, [x26, #16]
	mov	x0, x22
	bl	_X509_load_crl_file
	cbnz	x0, LBB0_19
LBB0_24:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x22]
	bl	_X509_STORE_lock
	ldr	x8, [x22]
	ldr	w0, [x8]
	add	x1, sp, #80
	bl	_sk_X509_OBJECT_find
	mov	x1, x0
	ldr	x8, [x22]
	ldr	w0, [x8]
	bl	_sk_X509_OBJECT_value
	mov	x28, x0
	ldr	x0, [x22]
	bl	_X509_STORE_unlock
Lloh17:
	adrp	x8, _X509_LU_CRL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _X509_LU_CRL@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_32
; %bb.25:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_CRYPTO_THREAD_write_lock
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	cbnz	x0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_9 Depth=1
	str	x23, [sp, #64]
	ldr	x0, [x26, #8]
	add	x1, sp, #64
	bl	_sk_BY_DIR_HASH_find
	mov	x1, x0
	ldr	x0, [x26, #8]
	bl	_sk_BY_DIR_HASH_value
	cbz	x0, LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x0, #8]
	cmp	w8, w20
	b.ge	LBB0_31
; %bb.28:                               ;   in Loop: Header=BB0_9 Depth=1
	str	w20, [x0, #8]
	b	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #16
	bl	_OPENSSL_malloc
	cbz	x0, LBB0_37
; %bb.30:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x8, x0
	str	x23, [x0]
	str	w20, [x0, #8]
	ldr	x0, [x26, #8]
	mov	x20, x8
	mov	x1, x8
	bl	_sk_BY_DIR_HASH_push
	cbz	w0, LBB0_38
LBB0_31:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_CRYPTO_THREAD_unlock
LBB0_32:                                ;   in Loop: Header=BB0_9 Depth=1
	cbnz	x28, LBB0_36
; %bb.33:                               ;   in Loop: Header=BB0_9 Depth=1
	add	w24, w24, #1
	ldr	x20, [sp, #48]                  ; 8-byte Folded Reload
	ldr	w0, [x20, #4]
	bl	_sk_BY_DIR_ENTRY_num
	cmp	w24, w0
Lloh20:
	adrp	x28, _X509_LU_X509@GOTPAGE
Lloh21:
	ldr	x28, [x28, _X509_LU_X509@GOTPAGEOFF]
	b.lt	LBB0_9
	b	LBB0_41
LBB0_34:
Lloh22:
	adrp	x8, _X509_F_GET_CERT_BY_SUBJECT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _X509_F_GET_CERT_BY_SUBJECT@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _ERR_R_BUF_LIB@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERR_R_BUF_LIB@GOTPAGEOFF]
	b	LBB0_40
LBB0_35:
Lloh27:
	adrp	x8, _X509_F_GET_CERT_BY_SUBJECT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _X509_F_GET_CERT_BY_SUBJECT@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _X509_R_WRONG_LOOKUP_TYPE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _X509_R_WRONG_LOOKUP_TYPE@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	bl	_X509err
	mov	x19, #0
	b	LBB0_41
LBB0_36:
	ldr	x8, [x28, #16]
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	str	x8, [x0, #16]
	mov	x1, x28
	mov	w2, #16
	bl	_memcpy
	bl	_ERR_clear_error
	mov	w20, #1
	b	LBB0_42
LBB0_37:
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_CRYPTO_THREAD_unlock
	b	LBB0_39
LBB0_38:
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	bl	_CRYPTO_THREAD_unlock
	mov	x0, x20
	bl	_OPENSSL_free
LBB0_39:
Lloh33:
	adrp	x8, _X509_F_GET_CERT_BY_SUBJECT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _X509_F_GET_CERT_BY_SUBJECT@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
LBB0_40:
	ldr	w1, [x8]
	bl	_X509err
LBB0_41:
	mov	w20, #0
LBB0_42:
	mov	x0, x19
	bl	_BUF_MEM_free
LBB0_43:
	mov	x0, x20
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_X509_LU_X509,8,3               ; @X509_LU_X509
	.comm	_X509_LU_CRL,8,3                ; @X509_LU_CRL
l_.str.1:                               ; @.str.1
	.asciz	"r"

	.comm	_X509_F_GET_CERT_BY_SUBJECT,4,2 ; @X509_F_GET_CERT_BY_SUBJECT
	.comm	_X509_R_WRONG_LOOKUP_TYPE,4,2   ; @X509_R_WRONG_LOOKUP_TYPE
	.comm	_ERR_R_BUF_LIB,4,2              ; @ERR_R_BUF_LIB
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
l_.str.3:                               ; @.str.3
	.asciz	"%s%c%08lx.%s%d"

	.no_dead_strip	_get_cert_by_subject
.subsections_via_symbols
