	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate
_validate:                              ## @validate
	.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	48(%rdi), %rax
	movslq	(%rsi), %r15
	andq	$-4, %r15
	addq	(%rax), %r15
	movl	(%rdi), %r14d
	movq	8(%rsi), %rdx
	movq	%rdx, 32(%rdi)
	movl	4(%rsi), %eax
	movl	%eax, 40(%rdi)
	movq	$0, 8(%rdi)
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	xorl	%eax, %eax
	movq	_EINVAL@GOTPCREL(%rip), %r12
	leaq	LJTI0_0(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rax,4), %ecx
	movl	%ecx, %esi
	shrl	$28, %esi
	movq	$0, 16(%rbx)
	movl	$0, 24(%rbx)
	decq	%rdx
	movq	%rdx, 32(%rbx)
	incq	%rax
	movq	%rax, 8(%rbx)
	cmpl	$14, %esi
	ja	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r13,%rsi,4), %rdx
	addq	%r13, %rdx
	xorl	%eax, %eax
	jmpq	*%rdx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %eax
	shrl	$6, %eax
	andl	$1023, %eax                     ## imm = 0x3FF
	movl	%eax, (%rbx)
	movl	%ecx, %eax
	andl	$63, %eax
	movl	%eax, 16(%rbx)
	shrl	$16, %ecx
	andl	$4095, %ecx                     ## imm = 0xFFF
	movl	%ecx, 20(%rbx)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_check_class
	testl	%eax, %eax
	je	LBB0_5
	jmp	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %eax
	shrl	$16, %eax
	andl	$4095, %eax                     ## imm = 0xFFF
	movl	%eax, 20(%rbx)
	movzwl	%cx, %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_check_incr
	jmp	LBB0_6
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %eax
	shrl	$16, %eax
	andl	$4095, %eax                     ## imm = 0xFFF
	movl	%eax, 20(%rbx)
	movzwl	%cx, %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_check_nonincr
	jmp	LBB0_6
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movzwl	%cx, %eax
	movl	%eax, 16(%rbx)
	shrl	$16, %ecx
	andl	$4095, %ecx                     ## imm = 0xFFF
	movl	%ecx, 20(%rbx)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_check_mask
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ecx
	movl	$0, %eax
	testl	%ecx, %ecx
	je	LBB0_9
	jmp	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	subl	(%r12), %eax
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	jmp	LBB0_2
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_7:
	movl	%ecx, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_validate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate
_validate:                              ; @validate
	.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
	ldr	x8, [x0, #48]
	ldr	x9, [x8]
	ldr	w20, [x0]
	ldr	x8, [x1, #8]
	str	x8, [x0, #32]
	ldp	w11, w10, [x1]
                                        ; kill: def $w11 killed $w11 def $x11
	sxtw	x11, w11
	str	w10, [x0, #40]
	str	xzr, [x0, #8]
	cbz	x8, LBB0_12
; %bb.1:
	mov	x19, x0
	mov	x10, #0
	and	x11, x11, #0xfffffffffffffffc
	add	x21, x9, x11
Lloh0:
	adrp	x22, _EINVAL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EINVAL@GOTPAGEOFF]
Lloh2:
	adrp	x23, lJTI0_0@PAGE
Lloh3:
	add	x23, x23, lJTI0_0@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21, x10, lsl #2]
	lsr	w11, w9, #28
	str	wzr, [x19, #24]
	sub	x8, x8, #1
	str	x8, [x19, #32]
	add	x8, x10, #1
	stp	x8, xzr, [x19, #8]
	cmp	w11, #14
	b.hi	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #0
	adr	x8, LBB0_4
	ldrb	w10, [x23, x11]
	add	x8, x8, x10, lsl #2
	br	x8
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ubfx	w8, w9, #6, #10
	str	w8, [x19]
	and	w8, w9, #0x3f
	ubfx	w9, w9, #16, #12
	stp	w8, w9, [x19, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_check_class
	cbz	w0, LBB0_8
	b	LBB0_13
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ubfx	w8, w9, #16, #12
	and	w9, w9, #0xffff
	stp	w8, w9, [x19, #20]
	mov	x0, x19
	bl	_check_incr
	cbz	w0, LBB0_10
	b	LBB0_13
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ubfx	w8, w9, #16, #12
	and	w9, w9, #0xffff
	stp	w8, w9, [x19, #20]
	mov	x0, x19
	bl	_check_nonincr
	cbz	w0, LBB0_10
	b	LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	and	w8, w9, #0xffff
	ubfx	w9, w9, #16, #12
	stp	w8, w9, [x19, #16]
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_check_mask
	cbz	w0, LBB0_10
	b	LBB0_13
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22]
	neg	w0, w8
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #32]
	cmp	x8, #0
	ccmp	w0, #0, #0, ne
	b.ne	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x19, #8]
	b	LBB0_2
LBB0_12:
	mov	w0, #0
LBB0_13:
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_validate
.subsections_via_symbols
