	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsstringprep
_dsstringprep:                          ## @dsstringprep
	.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, %r12
	movq	$0, (%rsi)
	movq	$0, (%rdx)
	movl	(%rdi), %esi
	cmpl	$128, %esi
	jne	LBB0_6
## %bb.1:
	movq	%rdx, %r13
	movq	_WIND_PROFILE_LDAP@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	4(%r12), %edi
	leaq	-48(%rbp), %rsi
	callq	_wind_utf8ucs4_length
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	movl	%ebx, %eax
	jmp	LBB0_24
LBB0_3:
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movq	-48(%rbp), %rdi
	shlq	$2, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%rax, %r15
	movl	4(%r12), %edi
	leaq	-48(%rbp), %rdx
	movq	%rax, %rsi
	callq	_wind_utf8ucs4
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_free
	movl	%ebx, %eax
	jmp	LBB0_24
LBB0_6:
	leal	-129(%rsi), %eax
	cmpl	$4, %eax
	ja	LBB0_26
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	%r12, %rdi
	callq	_dsstringprep.cold.5
	jmp	LBB0_23
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_24
LBB0_10:
	movq	-48(%rbp), %rbx
	leaq	(%rbx,%rbx), %rax
	movq	%rax, (%r13)
	leaq	(,%rbx,8), %rdi
	callq	_malloc
	movq	%rax, (%r14)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	movq	%r13, %rcx
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %r8d
	callq	_wind_stringprep
	movl	%eax, %ebx
	movq	_WIND_ERR_OVERRUN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_15
## %bb.11:
	movq	(%r14), %rdi
	callq	_free
	movq	(%r13), %rdi
	leaq	(%rdi,%rdi), %rax
	movq	%rax, (%r13)
	shlq	$3, %rdi
	callq	_malloc
	movq	%rax, (%r14)
	movq	-48(%rbp), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	movq	%r13, %rcx
	movl	%r12d, %r8d
	callq	_wind_stringprep
	movl	%eax, %ebx
	movq	_WIND_ERR_OVERRUN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_15
## %bb.12:
	movq	(%r14), %rdi
	callq	_free
	movq	(%r13), %rdi
	leaq	(%rdi,%rdi), %rax
	movq	%rax, (%r13)
	shlq	$3, %rdi
	callq	_malloc
	movq	%rax, (%r14)
	movq	-48(%rbp), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	movq	%r13, %rcx
	movl	%r12d, %r8d
	callq	_wind_stringprep
	movl	%eax, %ebx
	movq	_WIND_ERR_OVERRUN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_15
## %bb.13:
	movq	(%r14), %rdi
	callq	_free
	movq	(%r13), %rdi
	leaq	(%rdi,%rdi), %rax
	movq	%rax, (%r13)
	shlq	$3, %rdi
	callq	_malloc
	movq	%rax, (%r14)
	movq	-48(%rbp), %rsi
	movq	%r15, %rdi
	movq	%rax, %rdx
	movq	%r13, %rcx
	movl	%r12d, %r8d
	callq	_wind_stringprep
	movl	%eax, %ebx
	movq	_WIND_ERR_OVERRUN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_15
## %bb.14:
	movq	(%r14), %rdi
	callq	_free
	movq	$0, (%r14)
LBB0_15:
	movq	%r15, %rdi
	callq	_free
	testl	%ebx, %ebx
	je	LBB0_23
## %bb.16:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	callq	_free
LBB0_18:
	movq	$0, (%r14)
	movq	$0, (%r13)
	jmp	LBB0_2
LBB0_19:
	movq	%r12, %rdi
	callq	_dsstringprep.cold.4
	jmp	LBB0_23
LBB0_20:
	movq	%r12, %rdi
	callq	_dsstringprep.cold.2
	jmp	LBB0_23
LBB0_21:
	movq	%r12, %rdi
	callq	_dsstringprep.cold.1
	jmp	LBB0_23
LBB0_22:
	movq	%r12, %rdi
	callq	_dsstringprep.cold.3
LBB0_23:
	xorl	%eax, %eax
LBB0_24:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	__hx509_abort
	ud2
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_22
	.long	L0_0_set_20
	.long	L0_0_set_21
	.long	L0_0_set_19
	.end_data_region
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function dsstringprep.cold.1
_dsstringprep.cold.1:                   ## @dsstringprep.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ia5String@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_COPYVOIDARRAY
	ud2
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function dsstringprep.cold.2
_dsstringprep.cold.2:                   ## @dsstringprep.cold.2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_printableString@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_COPYVOIDARRAY
	ud2
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function dsstringprep.cold.3
_dsstringprep.cold.3:                   ## @dsstringprep.cold.3
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_teletexString@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_COPYCHARARRAY
	ud2
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function dsstringprep.cold.4
_dsstringprep.cold.4:                   ## @dsstringprep.cold.4
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_bmpString@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_COPYVALARRAY
	ud2
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function dsstringprep.cold.5
_dsstringprep.cold.5:                   ## @dsstringprep.cold.5
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_universalString@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_COPYVALARRAY
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_WIND_PROFILE_LDAP,4,2          ## @WIND_PROFILE_LDAP
	.comm	_ia5String,4,2                  ## @ia5String
	.comm	_WIND_PROFILE_LDAP_CASE_EXACT_ATTRIBUTE,4,2 ## @WIND_PROFILE_LDAP_CASE_EXACT_ATTRIBUTE
	.comm	_printableString,4,2            ## @printableString
	.comm	_WIND_PROFILE_LDAP_CASE,4,2     ## @WIND_PROFILE_LDAP_CASE
	.comm	_teletexString,4,2              ## @teletexString
	.comm	_bmpString,4,2                  ## @bmpString
	.comm	_universalString,4,2            ## @universalString
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown directory type: %d"

	.comm	_WIND_ERR_OVERRUN,4,2           ## @WIND_ERR_OVERRUN
	.no_dead_strip	_dsstringprep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsstringprep
_dsstringprep:                          ; @dsstringprep
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x1
	mov	x24, x0
	str	xzr, [x1]
	str	xzr, [x2]
	ldr	w1, [x0]
	cmp	w1, #128
	b.ne	LBB0_16
; %bb.1:
	mov	x19, x2
Lloh0:
	adrp	x8, _WIND_PROFILE_LDAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WIND_PROFILE_LDAP@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	ldr	w0, [x24, #4]
	add	x1, sp, #8
	bl	_wind_utf8ucs4_length
	mov	x23, x0
	cbz	w0, LBB0_3
LBB0_2:
	mov	x0, x23
	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
	add	sp, sp, #80
	ret
LBB0_3:
	ldr	x8, [sp, #8]
	lsl	x0, x8, #2
	bl	_malloc
	cbz	x0, LBB0_6
; %bb.4:
	mov	x21, x0
	ldr	w0, [x24, #4]
	add	x2, sp, #8
	mov	x1, x21
	bl	_wind_utf8ucs4
	cbz	w0, LBB0_7
; %bb.5:
	mov	x23, x0
	mov	x0, x21
	bl	_free
	b	LBB0_2
LBB0_6:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	b	LBB0_2
LBB0_7:
	ldr	x23, [sp, #8]
	lsl	x8, x23, #1
	str	x8, [x19]
	lsl	x0, x23, #3
	bl	_malloc
	mov	x2, x0
	str	x0, [x20]
	mov	x0, x21
	mov	x1, x23
	mov	x3, x19
	mov	x4, x22
	bl	_wind_stringprep
	mov	x23, x0
Lloh6:
	adrp	x24, _WIND_ERR_OVERRUN@GOTPAGE
Lloh7:
	ldr	x24, [x24, _WIND_ERR_OVERRUN@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.8:
	ldr	x0, [x20]
	bl	_free
	ldr	x8, [x19]
	lsl	x9, x8, #1
	str	x9, [x19]
	lsl	x0, x8, #3
	bl	_malloc
	mov	x2, x0
	str	x0, [x20]
	ldr	x1, [sp, #8]
	mov	x0, x21
	mov	x3, x19
	mov	x4, x22
	bl	_wind_stringprep
	mov	x23, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.9:
	ldr	x0, [x20]
	bl	_free
	ldr	x8, [x19]
	lsl	x9, x8, #1
	str	x9, [x19]
	lsl	x0, x8, #3
	bl	_malloc
	mov	x2, x0
	str	x0, [x20]
	ldr	x1, [sp, #8]
	mov	x0, x21
	mov	x3, x19
	mov	x4, x22
	bl	_wind_stringprep
	mov	x23, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.10:
	ldr	x0, [x20]
	bl	_free
	ldr	x8, [x19]
	lsl	x9, x8, #1
	str	x9, [x19]
	lsl	x0, x8, #3
	bl	_malloc
	mov	x2, x0
	str	x0, [x20]
	ldr	x1, [sp, #8]
	mov	x0, x21
	mov	x3, x19
	mov	x4, x22
	bl	_wind_stringprep
	mov	x23, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.11:
	ldr	x0, [x20]
	bl	_free
	str	xzr, [x20]
LBB0_12:
	mov	x0, x21
	bl	_free
	cbz	w23, LBB0_2
; %bb.13:
	ldr	x0, [x20]
	cbz	x0, LBB0_15
; %bb.14:
	bl	_free
LBB0_15:
	str	xzr, [x20]
	str	xzr, [x19]
	b	LBB0_2
LBB0_16:
	sub	w8, w1, #129
	cmp	w8, #4
	b.hi	LBB0_23
; %bb.17:
Lloh8:
	adrp	x9, lJTI0_0@PAGE
Lloh9:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_18
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_18:
	mov	x0, x24
	bl	_dsstringprep.cold.5
LBB0_19:
	mov	x0, x24
	bl	_dsstringprep.cold.4
LBB0_20:
	mov	x0, x24
	bl	_dsstringprep.cold.2
LBB0_21:
	mov	x0, x24
	bl	_dsstringprep.cold.1
LBB0_22:
	mov	x0, x24
	bl	_dsstringprep.cold.3
LBB0_23:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	__hx509_abort
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_22-LBB0_18)>>2
	.byte	(LBB0_20-LBB0_18)>>2
	.byte	(LBB0_21-LBB0_18)>>2
	.byte	(LBB0_19-LBB0_18)>>2
                                        ; -- End function
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2                               ; -- Begin function dsstringprep.cold.1
_dsstringprep.cold.1:                   ; @dsstringprep.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh12:
	adrp	x8, _ia5String@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ia5String@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_COPYVOIDARRAY
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function dsstringprep.cold.2
_dsstringprep.cold.2:                   ; @dsstringprep.cold.2
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh15:
	adrp	x8, _printableString@GOTPAGE
Lloh16:
	ldr	x8, [x8, _printableString@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_COPYVOIDARRAY
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function dsstringprep.cold.3
_dsstringprep.cold.3:                   ; @dsstringprep.cold.3
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh18:
	adrp	x8, _teletexString@GOTPAGE
Lloh19:
	ldr	x8, [x8, _teletexString@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_COPYCHARARRAY
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function dsstringprep.cold.4
_dsstringprep.cold.4:                   ; @dsstringprep.cold.4
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh21:
	adrp	x8, _bmpString@GOTPAGE
Lloh22:
	ldr	x8, [x8, _bmpString@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_COPYVALARRAY
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function dsstringprep.cold.5
_dsstringprep.cold.5:                   ; @dsstringprep.cold.5
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh24:
	adrp	x8, _universalString@GOTPAGE
Lloh25:
	ldr	x8, [x8, _universalString@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_COPYVALARRAY
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_WIND_PROFILE_LDAP,4,2          ; @WIND_PROFILE_LDAP
	.comm	_ia5String,4,2                  ; @ia5String
	.comm	_WIND_PROFILE_LDAP_CASE_EXACT_ATTRIBUTE,4,2 ; @WIND_PROFILE_LDAP_CASE_EXACT_ATTRIBUTE
	.comm	_printableString,4,2            ; @printableString
	.comm	_WIND_PROFILE_LDAP_CASE,4,2     ; @WIND_PROFILE_LDAP_CASE
	.comm	_teletexString,4,2              ; @teletexString
	.comm	_bmpString,4,2                  ; @bmpString
	.comm	_universalString,4,2            ; @universalString
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown directory type: %d"

	.comm	_WIND_ERR_OVERRUN,4,2           ; @WIND_ERR_OVERRUN
	.no_dead_strip	_dsstringprep
.subsections_via_symbols
