	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_issuer
_copy_issuer:                           ## @copy_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_CTX_TEST@GOTPCREL(%rip), %rcx
	movl	$1, %r13d
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.2:
	movl	8(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_3
## %bb.5:
	movq	%rsi, %r14
	movq	_NID_subject_alt_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-1, %edx
	callq	_X509_get_ext_by_NID
	testl	%eax, %eax
	js	LBB0_14
## %bb.6:
	movl	8(%rbx), %edi
	movl	%eax, %esi
	callq	_X509_get_ext
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %rdi
	callq	_X509V3_EXT_d2i
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_sk_GENERAL_NAME_num
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_sk_GENERAL_NAME_reserve
	testl	%eax, %eax
	je	LBB0_15
## %bb.10:
	testl	%r12d, %r12d
	jle	LBB0_13
## %bb.11:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_sk_GENERAL_NAME_value
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_sk_GENERAL_NAME_push
	incl	%ebx
	cmpl	%ebx, %r12d
	jne	LBB0_12
LBB0_13:
	movq	%r15, %rdi
	callq	_sk_GENERAL_NAME_free
	jmp	LBB0_14
LBB0_3:
	movq	_X509V3_F_COPY_ISSUER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_X509V3_R_NO_ISSUER_DETAILS@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	callq	_X509V3err
	xorl	%r13d, %r13d
LBB0_14:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_X509V3_F_COPY_ISSUER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_X509V3_R_ISSUER_DECODE_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_15:
	movq	_X509V3_F_COPY_ISSUER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_CTX_TEST,8,3                   ## @CTX_TEST
	.comm	_X509V3_F_COPY_ISSUER,4,2       ## @X509V3_F_COPY_ISSUER
	.comm	_X509V3_R_NO_ISSUER_DETAILS,4,2 ## @X509V3_R_NO_ISSUER_DETAILS
	.comm	_NID_subject_alt_name,4,2       ## @NID_subject_alt_name
	.comm	_X509V3_R_ISSUER_DECODE_ERROR,4,2 ## @X509V3_R_ISSUER_DECODE_ERROR
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_copy_issuer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_issuer
_copy_issuer:                           ; @copy_issuer
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_12
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CTX_TEST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CTX_TEST@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
	mov	w0, #1
	b	LBB0_14
LBB0_3:
	ldr	w0, [x20, #8]
	cbz	w0, LBB0_12
; %bb.4:
	mov	x19, x1
Lloh3:
	adrp	x8, _NID_subject_alt_name@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NID_subject_alt_name@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #-1
	bl	_X509_get_ext_by_NID
	tbnz	w0, #31, LBB0_2
; %bb.5:
	mov	x1, x0
	ldr	w0, [x20, #8]
	bl	_X509_get_ext
	cbz	x0, LBB0_15
; %bb.6:
	bl	_X509V3_EXT_d2i
	cbz	x0, LBB0_15
; %bb.7:
	mov	x20, x0
	bl	_sk_GENERAL_NAME_num
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_sk_GENERAL_NAME_reserve
	cbz	w0, LBB0_16
; %bb.8:
	cmp	w21, #1
	b.lt	LBB0_11
; %bb.9:
	mov	w22, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_sk_GENERAL_NAME_value
	mov	x1, x0
	mov	x0, x19
	bl	_sk_GENERAL_NAME_push
	add	w22, w22, #1
	cmp	w21, w22
	b.ne	LBB0_10
LBB0_11:
	mov	x0, x20
	bl	_sk_GENERAL_NAME_free
	b	LBB0_2
LBB0_12:
Lloh6:
	adrp	x8, _X509V3_F_COPY_ISSUER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _X509V3_F_COPY_ISSUER@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _X509V3_R_NO_ISSUER_DETAILS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _X509V3_R_NO_ISSUER_DETAILS@GOTPAGEOFF]
LBB0_13:
	ldr	w1, [x8]
	bl	_X509V3err
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_15:
Lloh11:
	adrp	x8, _X509V3_F_COPY_ISSUER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _X509V3_F_COPY_ISSUER@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _X509V3_R_ISSUER_DECODE_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _X509V3_R_ISSUER_DECODE_ERROR@GOTPAGEOFF]
	b	LBB0_13
LBB0_16:
Lloh16:
	adrp	x8, _X509V3_F_COPY_ISSUER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _X509V3_F_COPY_ISSUER@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_CTX_TEST,8,3                   ; @CTX_TEST
	.comm	_X509V3_F_COPY_ISSUER,4,2       ; @X509V3_F_COPY_ISSUER
	.comm	_X509V3_R_NO_ISSUER_DETAILS,4,2 ; @X509V3_R_NO_ISSUER_DETAILS
	.comm	_NID_subject_alt_name,4,2       ; @NID_subject_alt_name
	.comm	_X509V3_R_ISSUER_DECODE_ERROR,4,2 ; @X509V3_R_ISSUER_DECODE_ERROR
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_copy_issuer
.subsections_via_symbols
