	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function roaming_consortium_element_match
_roaming_consortium_element_match:      ## @roaming_consortium_element_match
	.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
	xorl	%r12d, %r12d
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rdi, %rbx
	movslq	4(%rdi), %rax
	cmpq	$2, %rax
	jl	LBB0_11
## %bb.2:
	movq	%rdx, %r14
	leaq	(%rbx,%rax,4), %rdx
	addq	$8, %rdx
	movl	12(%rbx), %r15d
	addq	$16, %rbx
	movl	%r15d, %r13d
	andl	$15, %r13d
	sarl	$4, %r15d
	leal	(%r15,%r13), %eax
	cltq
	movq	%rdx, %rcx
	subq	%rbx, %rcx
	sarq	$2, %rcx
	cmpq	%rax, %rcx
	jl	LBB0_11
## %bb.3:
	cmpq	%r14, %r13
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdx
	callq	_os_memcmp
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_10
LBB0_5:
	leaq	(%rbx,%r13,4), %r13
	movslq	%r15d, %rbx
	cmpq	%r14, %rbx
	jne	LBB0_7
## %bb.6:
	movq	%r13, %rdi
	movq	%rsi, %r15
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdx
	callq	_os_memcmp
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rsi
	testq	%rax, %rax
	je	LBB0_10
LBB0_7:
	leaq	(,%rbx,4), %rdi
	addq	%r13, %rdi
	cmpq	%rdx, %rdi
	jae	LBB0_11
## %bb.8:
	subq	%rdi, %rdx
	sarq	$2, %rdx
	cmpq	%r14, %rdx
	jne	LBB0_11
## %bb.9:
	movq	%r14, %rdx
	callq	_os_memcmp
	testq	%rax, %rax
	jne	LBB0_11
LBB0_10:
	movl	$1, %r12d
LBB0_11:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_roaming_consortium_element_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function roaming_consortium_element_match
_roaming_consortium_element_match:      ; @roaming_consortium_element_match
	.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
	cbz	x0, LBB0_11
; %bb.1:
	ldrsw	x8, [x0, #4]
	cmp	w8, #2
	b.lt	LBB0_10
; %bb.2:
	add	x8, x0, x8, lsl #2
	add	x22, x8, #8
	add	x21, x0, #16
	ldr	w8, [x0, #12]
	and	x23, x8, #0xf
	asr	w24, w8, #4
	add	w8, w23, w24
	sxtw	x8, w8
	sub	x9, x22, x21
	cmp	x8, x9, asr #2
	b.gt	LBB0_10
; %bb.3:
	mov	x19, x2
	mov	x20, x1
	cmp	x23, x2
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_os_memcmp
	cbz	x0, LBB0_12
LBB0_5:
	add	x21, x21, x23, lsl #2
	sxtw	x23, w24
	cmp	x23, x19
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_os_memcmp
	cbz	x0, LBB0_12
LBB0_7:
	add	x0, x21, x23, lsl #2
	cmp	x0, x22
	b.hs	LBB0_10
; %bb.8:
	sub	x8, x22, x0
	cmp	x19, x8, asr #2
	b.ne	LBB0_10
; %bb.9:
	mov	x1, x20
	mov	x2, x19
	bl	_os_memcmp
	cbz	x0, LBB0_12
LBB0_10:
	mov	w0, #0
LBB0_11:
	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
LBB0_12:
	mov	w0, #1
	b	LBB0_11
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_roaming_consortium_element_match
.subsections_via_symbols
