	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__wind_stringprep_testbidi      ## -- Begin function _wind_stringprep_testbidi
	.p2align	4, 0x90
__wind_stringprep_testbidi:             ## @_wind_stringprep_testbidi
	.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
	movq	_WIND_PROFILE_NAME@GOTPCREL(%rip), %rax
	movq	_WIND_PROFILE_SASL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	xorl	%r15d, %r15d
	testl	%edx, %ecx
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.2:
	movq	%rdi, %r12
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,4), %edi
	callq	_is_ral
	orl	%eax, %r15d
	movl	(%r12,%rbx,4), %edi
	callq	_is_l
	orl	%eax, %r13d
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_3
## %bb.4:
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.5:
	movl	$1, %r15d
	testl	%r13d, %r13d
	jne	LBB0_9
## %bb.6:
	movl	(%r12), %edi
	callq	_is_ral
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movl	-4(%r12,%r14,4), %edi
	callq	_is_ral
	testl	%eax, %eax
	je	LBB0_9
LBB0_8:
	xorl	%r15d, %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WIND_PROFILE_NAME,4,2          ## @WIND_PROFILE_NAME
	.comm	_WIND_PROFILE_SASL,4,2          ## @WIND_PROFILE_SASL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__wind_stringprep_testbidi      ; -- Begin function _wind_stringprep_testbidi
	.p2align	2
__wind_stringprep_testbidi:             ; @_wind_stringprep_testbidi
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _WIND_PROFILE_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WIND_PROFILE_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _WIND_PROFILE_SASL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WIND_PROFILE_SASL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w2
	b.eq	LBB0_9
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_9
; %bb.2:
	mov	x20, x0
	mov	w21, #0
	mov	w22, #0
	mov	x23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x24, x23, #2
	ldr	w0, [x20, x24]
	bl	_is_ral
	orr	w22, w0, w22
	ldr	w0, [x20, x24]
	bl	_is_l
	orr	w21, w0, w21
	add	x23, x23, #1
	cmp	x19, x23
	b.ne	LBB0_3
; %bb.4:
	cbz	w22, LBB0_9
; %bb.5:
	cbz	w21, LBB0_7
LBB0_6:
	mov	w0, #1
	b	LBB0_10
LBB0_7:
	ldr	w0, [x20]
	bl	_is_ral
	cbz	w0, LBB0_6
; %bb.8:
	add	x8, x20, x19, lsl #2
	ldur	w0, [x8, #-4]
	bl	_is_ral
	cbz	w0, LBB0_6
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WIND_PROFILE_NAME,4,2          ; @WIND_PROFILE_NAME
	.comm	_WIND_PROFILE_SASL,4,2          ; @WIND_PROFILE_SASL
.subsections_via_symbols
