	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_STORE_CTX_get_by_subject  ## -- Begin function X509_STORE_CTX_get_by_subject
	.p2align	4, 0x90
_X509_STORE_CTX_get_by_subject:         ## @X509_STORE_CTX_get_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	xorl	%r15d, %r15d
	testq	%r14, %r14
	je	LBB0_13
## %bb.1:
	movq	%rdx, %r13
	movl	%esi, %ebx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	_X509_LU_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	$0, -72(%rbp)
	movq	%r14, %rdi
	callq	_X509_STORE_lock
	movl	4(%r14), %edi
	movl	%ebx, %esi
	movq	%r13, %rdx
	callq	_X509_OBJECT_retrieve_by_subject
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_X509_STORE_unlock
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	testq	%r12, %r12
	je	LBB0_4
## %bb.2:
	movq	_X509_LU_CRL@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_4:
	movl	(%r14), %edi
	callq	_sk_X509_LOOKUP_num
	testl	%eax, %eax
	jle	LBB0_8
## %bb.5:
	xorl	%r15d, %r15d
	leaq	-72(%rbp), %r12
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movl	%r15d, %esi
	callq	_sk_X509_LOOKUP_value
	movq	%rax, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_X509_LOOKUP_by_subject
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%r15d
	movl	(%r14), %edi
	callq	_sk_X509_LOOKUP_num
	cmpl	%eax, %r15d
	jl	LBB0_6
LBB0_8:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	testq	%r12, %r12
	movl	$0, %r15d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_11
	jmp	LBB0_13
LBB0_9:
	xorl	%r15d, %r15d
LBB0_10:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_11:
	movq	%r12, %rdi
	callq	_X509_OBJECT_up_ref_count
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	8(%r12), %eax
	movl	%eax, 8(%r14)
	movq	(%r12), %rax
	movq	%rax, (%r14)
	movl	$1, %r15d
LBB0_13:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_LU_NONE,4,2               ## @X509_LU_NONE
	.comm	_X509_LU_CRL,4,2                ## @X509_LU_CRL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_STORE_CTX_get_by_subject  ; -- Begin function X509_STORE_CTX_get_by_subject
	.p2align	2
_X509_STORE_CTX_get_by_subject:         ; @X509_STORE_CTX_get_by_subject
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x22, [x0]
	cbz	x22, LBB0_7
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x8, _X509_LU_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _X509_LU_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	str	xzr, [sp]
	mov	x0, x22
	bl	_X509_STORE_lock
	ldr	w0, [x22, #4]
	mov	x1, x21
	mov	x2, x20
	bl	_X509_OBJECT_retrieve_by_subject
	mov	x23, x0
	mov	x0, x22
	bl	_X509_STORE_unlock
Lloh3:
	adrp	x8, _X509_LU_CRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _X509_LU_CRL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x23, #0
	ccmp	w8, w21, #4, ne
	b.ne	LBB0_9
; %bb.2:
	ldr	w0, [x22]
	bl	_sk_X509_LOOKUP_num
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.3:
	mov	w24, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	mov	x1, x24
	bl	_sk_X509_LOOKUP_value
	mov	x3, sp
	mov	x1, x21
	mov	x2, x20
	bl	_X509_LOOKUP_by_subject
	cbnz	w0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w24, w24, #1
	ldr	w0, [x22]
	bl	_sk_X509_LOOKUP_num
	cmp	w24, w0
	b.lt	LBB0_4
LBB0_6:
	cbnz	x23, LBB0_9
LBB0_7:
	mov	w0, #0
	b	LBB0_11
LBB0_8:
	mov	x23, sp
LBB0_9:
	mov	x0, x23
	bl	_X509_OBJECT_up_ref_count
	cbz	w0, LBB0_11
; %bb.10:
	ldr	w8, [x23, #8]
	str	w8, [x19, #8]
	ldr	x8, [x23]
	str	x8, [x19]
	mov	w0, #1
LBB0_11:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_LU_NONE,4,2               ; @X509_LU_NONE
	.comm	_X509_LU_CRL,4,2                ; @X509_LU_CRL
.subsections_via_symbols
