	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_STORE_CTX_get1_issuer     ## -- Begin function X509_STORE_CTX_get1_issuer
	.p2align	4, 0x90
_X509_STORE_CTX_get1_issuer:            ## @X509_STORE_CTX_get1_issuer
	.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
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_X509_OBJECT_new
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movq	8(%r13), %r14
	movq	$0, (%r15)
	movq	%r12, %rdi
	callq	_X509_get_issuer_name
	movq	_X509_LU_X509@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	%r13, %rdi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdx
	movq	%rbx, %rcx
	callq	_X509_STORE_CTX_get_by_subject
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.2:
	movq	8(%rbx), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	*(%r13)
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	8(%rbx), %rsi
	movq	%r13, %rdi
	movl	$-1, %edx
	callq	_x509_check_cert_time
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	8(%rbx), %rdi
	movq	%rdi, (%r15)
	callq	_X509_up_ref
	movl	$1, %r14d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	$0, (%r15)
	movl	$-1, %r14d
LBB0_6:
	movq	%rbx, %rdi
	callq	_X509_OBJECT_free
	jmp	LBB0_23
LBB0_7:
	movl	$-1, %r14d
	jmp	LBB0_23
LBB0_8:
	movq	%rbx, %rdi
	callq	_X509_OBJECT_free
LBB0_22:
	xorl	%r14d, %r14d
	jmp	LBB0_23
LBB0_9:
	movq	%rbx, %rdi
	callq	_X509_OBJECT_free
	testq	%r14, %r14
	je	LBB0_22
## %bb.10:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_X509_STORE_lock
	movl	(%r14), %edi
	movq	_X509_LU_X509@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_X509_OBJECT_idx_by_subject
	movl	%eax, %r15d
	movq	%r14, %rax
	xorl	%r14d, %r14d
	cmpl	$-1, %r15d
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_18
## %bb.11:
	movl	(%rax), %edi
	callq	_sk_X509_OBJECT_num
	cmpl	%eax, %r15d
	jge	LBB0_18
## %bb.12:
	xorl	%r14d, %r14d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	incl	%r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_sk_X509_OBJECT_num
	cmpl	%eax, %r15d
	jge	LBB0_18
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_sk_X509_OBJECT_value
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_X509_LU_X509@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%rbx), %rdi
	callq	_X509_get_subject_name
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_X509_NAME_cmp
	testq	%rax, %rax
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%rbx), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	*(%r13)
	testq	%rax, %rax
	je	LBB0_13
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	8(%rbx), %rsi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rsi, (%rax)
	movq	%r13, %rdi
	movl	$-1, %edx
	callq	_x509_check_cert_time
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_13
LBB0_18:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.19:
	callq	_X509_up_ref
	testl	%eax, %eax
	jne	LBB0_21
## %bb.20:
	movq	$0, (%rbx)
	movl	$-1, %r14d
LBB0_21:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_X509_STORE_unlock
LBB0_23:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X509_LU_X509,8,3               ## @X509_LU_X509
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_X509_STORE_CTX_get1_issuer     ; -- Begin function X509_STORE_CTX_get1_issuer
	.p2align	2
_X509_STORE_CTX_get1_issuer:            ; @X509_STORE_CTX_get1_issuer
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_X509_OBJECT_new
	cbz	x0, LBB0_6
; %bb.1:
	mov	x25, x0
	ldr	x20, [x22, #8]
	str	xzr, [x19]
	mov	x0, x21
	bl	_X509_get_issuer_name
	mov	x23, x0
Lloh0:
	adrp	x27, _X509_LU_X509@GOTPAGE
Lloh1:
	ldr	x27, [x27, _X509_LU_X509@GOTPAGEOFF]
	ldr	x1, [x27]
	mov	x0, x22
	mov	x2, x23
	mov	x3, x25
	bl	_X509_STORE_CTX_get_by_subject
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.2:
	ldr	x8, [x22]
	ldr	x2, [x25, #8]
	mov	x0, x22
	mov	x1, x21
	blr	x8
	cbz	x0, LBB0_8
; %bb.3:
	ldr	x1, [x25, #8]
	mov	x0, x22
	mov	w2, #-1
	bl	_x509_check_cert_time
	cbz	x0, LBB0_8
; %bb.4:
	ldr	x0, [x25, #8]
	str	x0, [x19]
	bl	_X509_up_ref
	cbz	w0, LBB0_23
; %bb.5:
	mov	w24, #1
	b	LBB0_24
LBB0_6:
	mov	w24, #-1
	b	LBB0_25
LBB0_7:
	mov	x0, x25
	bl	_X509_OBJECT_free
	mov	w24, #0
	b	LBB0_25
LBB0_8:
	mov	x0, x25
	bl	_X509_OBJECT_free
	cbz	x20, LBB0_22
; %bb.9:
	mov	x0, x20
	bl	_X509_STORE_lock
	ldr	w0, [x20]
	ldr	x1, [x27]
	mov	x2, x23
	bl	_X509_OBJECT_idx_by_subject
	cmn	w0, #1
	b.eq	LBB0_17
; %bb.10:
	mov	x25, x0
	ldr	w0, [x20]
	bl	_sk_X509_OBJECT_num
	cmp	w25, w0
	b.ge	LBB0_17
; %bb.11:
	mov	w24, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w25, w25, #1
	ldr	w0, [x20]
	bl	_sk_X509_OBJECT_num
	cmp	w25, w0
	b.ge	LBB0_18
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	mov	x1, x25
	bl	_sk_X509_OBJECT_value
	ldr	x8, [x0]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x26, x0
	ldr	x0, [x0, #8]
	bl	_X509_get_subject_name
	mov	x1, x0
	mov	x0, x23
	bl	_X509_NAME_cmp
	cbnz	x0, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x22]
	ldr	x2, [x26, #8]
	mov	x0, x22
	mov	x1, x21
	blr	x8
	cbz	x0, LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x1, [x26, #8]
	str	x1, [x19]
	mov	x0, x22
	mov	w2, #-1
	bl	_x509_check_cert_time
	mov	w24, #1
	cbz	x0, LBB0_12
	b	LBB0_18
LBB0_17:
	mov	w24, #0
LBB0_18:
	ldr	x0, [x19]
	cbz	x0, LBB0_21
; %bb.19:
	bl	_X509_up_ref
	cbnz	w0, LBB0_21
; %bb.20:
	str	xzr, [x19]
	mov	w24, #-1
LBB0_21:
	mov	x0, x20
	bl	_X509_STORE_unlock
	b	LBB0_25
LBB0_22:
	mov	w24, #0
	b	LBB0_25
LBB0_23:
	str	xzr, [x19]
	mov	w24, #-1
LBB0_24:
	mov	x0, x25
	bl	_X509_OBJECT_free
LBB0_25:
	mov	x0, x24
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_X509_LU_X509,8,3               ; @X509_LU_X509
.subsections_via_symbols
