	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x509_name_string               ## -- Begin function x509_name_string
	.p2align	4, 0x90
_x509_name_string:                      ## @x509_name_string
	.cfi_startproc
## %bb.0:
	testq	%rdx, %rdx
	je	LBB0_18
## %bb.1:
	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	%rsi, %r14
	movq	%rdi, %r13
	addq	%rsi, %rdx
	cmpq	$0, (%rdi)
	je	LBB0_10
## %bb.2:
	movq	%r14, %rcx
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, %r14d
	subl	%ecx, %r14d
	movq	16(%r13), %rax
	movq	%rcx, %r15
	movl	4(%rax,%r12,8), %edi
	callq	_x509_name_attr_str
	movq	16(%r13), %rcx
	movl	(%rcx,%r12,8), %r8d
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	%r14d, %esi
	leaq	L_.str(%rip), %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_os_snprintf
	movq	%r13, %r15
	movl	%eax, %r13d
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r13d, %rax
	addq	%rax, %rbx
	incq	%r12
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	leaq	(%r14,%rbx), %rcx
	cmpq	(%r15), %r12
	movq	%r15, %r13
	jb	LBB0_3
## %bb.5:
	cmpq	$2, %rbx
	jl	LBB0_9
## %bb.6:
	cmpb	$32, -1(%rcx)
	jne	LBB0_9
## %bb.7:
	cmpb	$44, -2(%rcx)
	jne	LBB0_9
## %bb.8:
	movw	$0, -2(%rcx)
	addq	$-2, %rcx
LBB0_9:
	movq	%rcx, %r14
LBB0_10:
	movl	8(%r13), %ecx
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.12:
	movq	%rdx, %r15
	movl	%edx, %r12d
	subl	%r14d, %r12d
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_os_snprintf
	movl	%eax, %ebx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_os_snprintf_error
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	movslq	%ebx, %rax
	addq	%rax, %r14
LBB0_14:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdx
	jmp	LBB0_15
LBB0_11:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
LBB0_15:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rdx, %rax
	jae	LBB0_17
## %bb.16:
	movb	$0, (%rax)
LBB0_17:
	movb	$0, -1(%rdx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_18:
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s=%s, "

L_.str.1:                               ## @.str.1
	.asciz	"/emailAddress=%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x509_name_string               ; -- Begin function x509_name_string
	.p2align	2
_x509_name_string:                      ; @x509_name_string
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_17
; %bb.1:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	mov	x20, x0
	add	x25, x1, x2
	ldr	x8, [x0]
	cbz	x8, LBB0_12
; %bb.2:
	mov	x27, #0
	mov	x28, #0
	mov	x26, #0
	mov	x21, x19
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w24, w25, w21
	ldr	x8, [x20, #16]
	add	x8, x8, x27
	ldr	w0, [x8, #4]
	bl	_x509_name_attr_str
	mov	x3, x0
	ldr	x8, [x20, #16]
	ldr	w8, [x8, x27]
	str	x8, [sp]
	mov	x0, x21
	mov	x1, x24
	mov	x2, x22
	bl	_os_snprintf
	mov	x23, x0
	mov	x0, x24
	mov	x1, x23
	bl	_os_snprintf_error
	cbnz	x0, LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x26, w23, sxtw
	add	x28, x28, #1
	add	x21, x19, x26
	ldr	x8, [x20]
	add	x27, x27, #8
	cmp	x28, x8
	b.lo	LBB0_3
; %bb.5:
	cmp	x26, #2
	b.lt	LBB0_9
; %bb.6:
	ldurb	w8, [x21, #-1]
	cmp	w8, #32
	b.ne	LBB0_11
; %bb.7:
	mov	x19, x21
	ldrb	w8, [x19, #-2]!
	cmp	w8, #44
	b.ne	LBB0_9
; %bb.8:
	sturh	wzr, [x21, #-2]
	ldr	w3, [x20, #8]
	cbnz	w3, LBB0_13
	b	LBB0_10
LBB0_9:
	mov	x19, x21
	ldr	w3, [x20, #8]
	cbnz	w3, LBB0_13
LBB0_10:
	mov	x21, x19
	cmp	x21, x25
	b.lo	LBB0_15
	b	LBB0_16
LBB0_11:
	mov	x19, x21
LBB0_12:
	ldr	w3, [x20, #8]
	cbz	w3, LBB0_10
LBB0_13:
	sub	w20, w25, w19
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_os_snprintf
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_os_snprintf_error
	add	x8, x19, w21, sxtw
	cmp	x0, #0
	csel	x21, x19, x8, ne
LBB0_14:
	cmp	x21, x25
	b.hs	LBB0_16
LBB0_15:
	strb	wzr, [x21]
LBB0_16:
	sturb	wzr, [x25, #-1]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
LBB0_17:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	.cfi_same_value w25
	.cfi_same_value w26
	.cfi_same_value w27
	.cfi_same_value w28
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s=%s, "

l_.str.1:                               ; @.str.1
	.asciz	"/emailAddress=%s"

.subsections_via_symbols
