	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_name                     ## -- Begin function parse_name
	.p2align	4, 0x90
_parse_name:                            ## @parse_name
	.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, %r13
	cmpb	$47, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r12
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_X509_NAME_new
	testq	%rax, %rax
	je	LBB0_30
## %bb.3:
	movq	%rax, %r15
	incq	%r13
	movq	%r13, %rdi
	callq	_OPENSSL_strdup
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_29
## %bb.4:
	movb	(%r13), %cl
	testb	%cl, %cl
	je	LBB0_26
## %bb.5:
	movq	%rbx, %rdi
	incq	%rdi
	xorl	%r14d, %r14d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movl	%r14d, %r8d
	movq	%rdi, %r12
	movq	%r13, %rax
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	testb	%cl, %cl
	je	LBB0_27
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$61, %cl
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movb	%cl, -1(%r12)
	movzbl	1(%rax), %ecx
	incq	%rax
	incq	%r12
	testb	%cl, %cl
	jne	LBB0_8
	jmp	LBB0_27
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movb	$0, -1(%r12)
	movq	%r12, %rcx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_11 Depth=2
	movb	%bl, (%rcx)
	incq	%rcx
	movq	%rdx, %rax
LBB0_11:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	1(%rax), %rdx
	movzbl	1(%rax), %ebx
	xorl	%r14d, %r14d
	testb	%bl, %bl
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpb	$47, %bl
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	testl	%esi, %esi
	je	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpb	$43, %bl
	je	LBB0_15
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=2
	cmpb	$92, %bl
	jne	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_11 Depth=2
	movzbl	2(%rax), %ebx
	testb	%bl, %bl
	je	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=2
	addq	$2, %rax
	movq	%rax, %rdx
	jmp	LBB0_23
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, %r14d
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%r8d, %ebx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movb	$0, (%rcx)
	leaq	2(%rax), %r13
	cmpb	$0, 1(%rax)
	cmoveq	%rdx, %r13
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_OBJ_txt2nid
	movl	%eax, %ecx
	leaq	L_.str.3(%rip), %rdx
	movq	_NID_undef@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_24
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$0, (%r12)
	leaq	L_.str.4(%rip), %rdx
	je	LBB0_24
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	callq	_strlen
	negl	%ebx
	movl	$0, %ecx
	sbbl	%ecx, %ecx
	movl	%ecx, (%rsp)
	movq	%r15, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movl	%eax, %r8d
	movl	$-1, %r9d
	callq	_X509_NAME_add_entry_by_NID
	testl	%eax, %eax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_25
	jmp	LBB0_29
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%eax, %eax
	movq	%rdx, %rbx
	callq	_opt_getprog
	movslq	%eax, %rdx
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_25:                                ##   in Loop: Header=BB0_6 Depth=1
	movb	(%r13), %cl
	testb	%cl, %cl
	jne	LBB0_6
LBB0_26:
	movq	%rbx, %rdi
	callq	_OPENSSL_free
	jmp	LBB0_31
LBB0_1:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_31
LBB0_27:
	leaq	L_.str.1(%rip), %r14
LBB0_28:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_opt_getprog
	movslq	%eax, %rdx
	movl	%ebx, %edi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_29:
	movq	%r15, %rdi
	callq	_X509_NAME_free
	movq	%rbx, %rdi
	callq	_OPENSSL_free
LBB0_30:
	xorl	%r15d, %r15d
LBB0_31:
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	leaq	L_.str.2(%rip), %r14
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_bio_err,4,2                    ## @bio_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name is expected to be in the format /type0=value0/type1=value1/type2=... where characters may be escaped by \\. This name is not in that format: '%s'\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s: Hit end of string before finding the equals.\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: escape character at end of string\n"

	.comm	_NID_undef,4,2                  ## @NID_undef
L_.str.3:                               ## @.str.3
	.asciz	"%s: Skipping unknown attribute \"%s\"\n"

L_.str.4:                               ## @.str.4
	.asciz	"%s: No value provided for Subject Attribute %s, skipped\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_name                     ; -- Begin function parse_name
	.p2align	2
_parse_name:                            ; @parse_name
	.cfi_startproc
; %bb.0:
	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	x24, x0
	ldrb	w8, [x24], #1
	cmp	w8, #47
	b.ne	LBB0_25
; %bb.1:
	mov	x21, x2
	mov	x22, x1
	bl	_X509_NAME_new
	mov	x19, x0
	cbz	x0, LBB0_30
; %bb.2:
	mov	x0, x24
	bl	_OPENSSL_strdup
	mov	x20, x0
	cbz	x0, LBB0_28
; %bb.3:
	ldrb	w9, [x24]
	cbz	w9, LBB0_24
; %bb.4:
	mov	w28, #0
Lloh0:
	adrp	x27, _NID_undef@GOTPAGE
Lloh1:
	ldr	x27, [x27, _NID_undef@GOTPAGEOFF]
Lloh2:
	adrp	x23, _bio_err@GOTPAGE
Lloh3:
	ldr	x23, [x23, _bio_err@GOTPAGEOFF]
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	mov	x10, #0
	mov	x12, x28
	mov	w8, #1
	cbz	w9, LBB0_26
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w9, #61
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x11, x24, x10
	strb	w9, [x20, x10]
	ldrb	w9, [x11, #1]
	add	x10, x10, #1
	add	x8, x8, #1
	cbnz	w9, LBB0_6
	b	LBB0_26
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x20, x10
	strb	wzr, [x25], #1
	add	x9, x24, x10
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	mov	x9, x10
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	strb	w11, [x20, x8]
	add	x8, x8, #1
LBB0_11:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w28, #0
	mov	x10, x9
	ldrb	w11, [x10, #1]!
	cbz	w11, LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	cmp	w11, #47
	b.eq	LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	cbz	w21, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	cmp	w11, #43
	b.eq	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=2
	cmp	w11, #92
	b.ne	LBB0_9
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=2
	ldrb	w11, [x9, #2]!
	cbnz	w11, LBB0_10
	b	LBB0_31
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w28, #1
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	str	w12, [sp, #12]                  ; 4-byte Folded Spill
	strb	wzr, [x20, x8]
	ldrb	w8, [x9, #1]
	add	x9, x9, #2
	cmp	w8, #0
	csel	x24, x10, x9, eq
	mov	x0, x20
	bl	_OBJ_txt2nid
	ldr	w8, [x27]
Lloh4:
	adrp	x27, l_.str.3@PAGE
Lloh5:
	add	x27, x27, l_.str.3@PAGEOFF
	cmp	w0, w8
	b.eq	LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x25]
	cbz	w8, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, x0
	mov	x0, x25
	bl	_strlen
	mov	x4, x0
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #0
	csetm	w6, ne
	mov	x0, x19
	mov	x1, x26
	mov	x2, x22
	mov	x3, x25
	mov	w5, #-1
	bl	_X509_NAME_add_entry_by_NID
Lloh6:
	adrp	x27, _NID_undef@GOTPAGE
Lloh7:
	ldr	x27, [x27, _NID_undef@GOTPAGEOFF]
	cbz	w0, LBB0_28
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w9, [x24]
	cbnz	w9, LBB0_5
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh8:
	adrp	x27, l_.str.4@PAGE
Lloh9:
	add	x27, x27, l_.str.4@PAGEOFF
LBB0_23:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w25, [x23]
	bl	_opt_getprog
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	str	x20, [sp]
	mov	x0, x25
	mov	x1, x27
	bl	_BIO_printf
Lloh10:
	adrp	x27, _NID_undef@GOTPAGE
Lloh11:
	ldr	x27, [x27, _NID_undef@GOTPAGEOFF]
	ldrb	w9, [x24]
	cbnz	w9, LBB0_5
LBB0_24:
	mov	x0, x20
	bl	_OPENSSL_free
	b	LBB0_30
LBB0_25:
	mov	x2, x0
Lloh12:
	adrp	x8, _bio_err@GOTPAGE
Lloh13:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_printf
	b	LBB0_29
LBB0_26:
Lloh17:
	adrp	x22, l_.str.1@PAGE
Lloh18:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_27:
	ldr	w21, [x23]
	bl	_opt_getprog
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	mov	x0, x21
	mov	x1, x22
	bl	_BIO_printf
LBB0_28:
	mov	x0, x19
	bl	_X509_NAME_free
	mov	x0, x20
	bl	_OPENSSL_free
LBB0_29:
	mov	x19, #0
LBB0_30:
	mov	x0, x19
	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
	ret
LBB0_31:
Lloh19:
	adrp	x22, l_.str.2@PAGE
Lloh20:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_27
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_bio_err,4,2                    ; @bio_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name is expected to be in the format /type0=value0/type1=value1/type2=... where characters may be escaped by \\. This name is not in that format: '%s'\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s: Hit end of string before finding the equals.\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: escape character at end of string\n"

	.comm	_NID_undef,4,2                  ; @NID_undef
l_.str.3:                               ; @.str.3
	.asciz	"%s: Skipping unknown attribute \"%s\"\n"

l_.str.4:                               ; @.str.4
	.asciz	"%s: No value provided for Subject Attribute %s, skipped\n"

.subsections_via_symbols
