	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_x509_string_to_names   ## -- Begin function mbedtls_x509_string_to_names
	.p2align	4, 0x90
_mbedtls_x509_string_to_names:          ## @mbedtls_x509_string_to_names
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	_MBEDTLS_X509_MAX_DN_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_mbedtls_asn1_free_named_data_list
	testl	%r12d, %r12d
	js	LBB0_22
## %bb.1:
	movslq	%r12d, %r13
	addq	%r14, %r13
	movl	$1, %eax
	xorl	%r12d, %r12d
	movq	%r15, %rsi
	movq	%r14, %rbx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movl	$1, %eax
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r13, %rbx
	ja	LBB0_22
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$61, (%rbx)
	jne	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %esi
	subl	%r14d, %esi
	movq	%r14, %rdi
	callq	_x509_at_oid_from_name
	testq	%rax, %rax
	je	LBB0_24
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r12
	leaq	1(%rbx), %r14
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, %r15
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movb	(%rbx), %cl
	cmpb	$92, %cl
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r13, %rbx
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	%r13, %rbx
	je	LBB0_23
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movb	$44, %cl
	cmpb	$44, (%rbx)
	je	LBB0_15
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$44, %cl
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r13, %rbx
	je	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	xorl	%eax, %eax
	cmpq	%rbx, %r14
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movb	%cl, (%r15)
	incq	%r15
	movq	%r15, %rcx
	subq	%rsi, %rcx
	movq	_MBEDTLS_X509_MAX_DN_NAME_SIZE@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_4
	jmp	LBB0_23
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rbx
	jmp	LBB0_4
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movq	%rsi, %r14
	callq	_strlen
	movl	%r15d, %r8d
	subl	%r14d, %r8d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_mbedtls_asn1_store_named_data
	testq	%rax, %rax
	je	LBB0_25
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movq	%rbx, %rax
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, %r14
	leaq	-1(%rax), %rbx
	cmpq	%r13, %rbx
	jae	LBB0_2
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	leaq	1(%r14), %rax
	cmpb	$32, (%r14)
	je	LBB0_20
	jmp	LBB0_2
LBB0_22:
	xorl	%eax, %eax
	jmp	LBB0_27
LBB0_23:
	movq	_MBEDTLS_ERR_X509_INVALID_NAME@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_24:
	movq	_MBEDTLS_ERR_X509_UNKNOWN_OID@GOTPCREL(%rip), %rax
	jmp	LBB0_26
LBB0_25:
	movq	_MBEDTLS_ERR_X509_ALLOC_FAILED@GOTPCREL(%rip), %rax
LBB0_26:
	movl	(%rax), %eax
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_29
## %bb.28:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_X509_MAX_DN_NAME_SIZE,4,2 ## @MBEDTLS_X509_MAX_DN_NAME_SIZE
	.comm	_MBEDTLS_ERR_X509_UNKNOWN_OID,4,2 ## @MBEDTLS_ERR_X509_UNKNOWN_OID
	.comm	_MBEDTLS_ERR_X509_INVALID_NAME,4,2 ## @MBEDTLS_ERR_X509_INVALID_NAME
	.comm	_MBEDTLS_ERR_X509_ALLOC_FAILED,4,2 ## @MBEDTLS_ERR_X509_ALLOC_FAILED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_x509_string_to_names   ; -- Begin function mbedtls_x509_string_to_names
	.p2align	2
_mbedtls_x509_string_to_names:          ; @mbedtls_x509_string_to_names
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	mov	x0, x1
	bl	_strlen
	mov	x23, x0
Lloh3:
	adrp	x24, _MBEDTLS_X509_MAX_DN_NAME_SIZE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _MBEDTLS_X509_MAX_DN_NAME_SIZE@GOTPAGEOFF]
	ldr	w8, [x24]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	mov	x0, x19
	bl	_mbedtls_asn1_free_named_data_list
	tbnz	w23, #31, LBB0_20
; %bb.1:
	mov	x22, #0
	mov	w8, #1
	mov	x26, x20
	mov	x25, x21
	add	x23, x21, w23, sxtw
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	mov	w8, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x25, x23
	b.hi	LBB0_20
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	cbz	w8, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x25]
	cmp	w8, #61
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w1, w25, w21
	mov	x0, x21
	bl	_x509_at_oid_from_name
	cbz	x0, LBB0_22
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x0
	add	x21, x25, #1
	mov	x26, x20
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x25]
	cmp	w8, #92
	ccmp	x25, x23, #4, eq
	b.ne	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #44
	ccmp	x25, x23, #4, ne
	b.ne	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
	sub	w4, w26, w20
	mov	x0, x19
	mov	x1, x22
	mov	x3, x20
	bl	_mbedtls_asn1_store_named_data
	cbz	x0, LBB0_23
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x25, #1
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x21, x8
	sub	x25, x8, #1
	cmp	x25, x23
	b.hs	LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	x8, x21
	ldrb	w9, [x8], #1
	cmp	w9, #32
	b.eq	LBB0_12
	b	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	cmp	x25, x23
	b.eq	LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x25]
	cmp	w8, #44
	b.ne	LBB0_21
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	cmp	x21, x25
	b.eq	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	strb	w8, [x26], #1
	ldrsw	x8, [x24]
	sub	x9, x26, x20
	cmp	x9, x8
	b.eq	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
	b	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
	mov	x25, x21
	b	LBB0_3
LBB0_20:
	mov	w0, #0
	b	LBB0_25
LBB0_21:
Lloh7:
	adrp	x8, _MBEDTLS_ERR_X509_INVALID_NAME@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_INVALID_NAME@GOTPAGEOFF]
	b	LBB0_24
LBB0_22:
Lloh9:
	adrp	x8, _MBEDTLS_ERR_X509_UNKNOWN_OID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_UNKNOWN_OID@GOTPAGEOFF]
	b	LBB0_24
LBB0_23:
Lloh11:
	adrp	x8, _MBEDTLS_ERR_X509_ALLOC_FAILED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MBEDTLS_ERR_X509_ALLOC_FAILED@GOTPAGEOFF]
LBB0_24:
	ldr	w0, [x8]
LBB0_25:
	ldur	x8, [x29, #-72]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.26:
	sub	sp, x29, #64
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_X509_MAX_DN_NAME_SIZE,4,2 ; @MBEDTLS_X509_MAX_DN_NAME_SIZE
	.comm	_MBEDTLS_ERR_X509_UNKNOWN_OID,4,2 ; @MBEDTLS_ERR_X509_UNKNOWN_OID
	.comm	_MBEDTLS_ERR_X509_INVALID_NAME,4,2 ; @MBEDTLS_ERR_X509_INVALID_NAME
	.comm	_MBEDTLS_ERR_X509_ALLOC_FAILED,4,2 ; @MBEDTLS_ERR_X509_ALLOC_FAILED
.subsections_via_symbols
