	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stride_is_valid
_stride_is_valid:                       ## @stride_is_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	xorl	%edi, %edi
	testb	$63, %bl
	setne	%dil
	callq	_WARN_ON_ONCE
	xorl	%ecx, %ecx
	cmpl	$512, %ebx                      ## imm = 0x200
	jb	LBB0_10
## %bb.1:
	testq	%rax, %rax
	jne	LBB0_10
## %bb.2:
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_IS_GEN
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_IS_GEN
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	addl	$-4096, %ebx                    ## imm = 0xF000
	testl	$-4097, %ebx                    ## imm = 0xEFFF
	sete	%cl
LBB0_10:
	movzbl	%cl, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_IS_GEN
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%r14, %rdi
	callq	_IS_G4X
	cmpl	$2047, %ebx                     ## imm = 0x7FF
	ja	LBB0_9
## %bb.7:
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_9:
	cmpl	$16385, %ebx                    ## imm = 0x4001
	setb	%cl
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stride_is_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stride_is_valid
_stride_is_valid:                       ; @stride_is_valid
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	tst	w1, #0x3f
	cset	w0, ne
	bl	_WARN_ON_ONCE
	mov	x8, x0
	mov	w0, #0
	cmp	w19, #512
	b.lo	LBB0_5
; %bb.1:
	cbnz	x8, LBB0_5
; %bb.2:
	mov	x0, x20
	mov	w1, #2
	bl	_IS_GEN
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	w1, #3
	bl	_IS_GEN
	cbz	x0, LBB0_6
LBB0_4:
	cmp	w19, #1, lsl #12                ; =4096
	mov	w8, #8192
	ccmp	w19, w8, #4, ne
	cset	w0, eq
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x20
	mov	w1, #4
	bl	_IS_GEN
	cbz	x0, LBB0_9
; %bb.7:
	mov	x0, x20
	bl	_IS_G4X
	cmp	w19, #2047
	b.hi	LBB0_9
; %bb.8:
	cbz	w0, LBB0_5
LBB0_9:
	cmp	w19, #4, lsl #12                ; =16384
	cset	w0, ls
	b	LBB0_5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stride_is_valid
.subsections_via_symbols
