	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_vector_id
_check_vector_id:                       ## @check_vector_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edi, %edi
	jle	LBB0_1
## %bb.2:
	movl	%edi, %r9d
	movq	_log_split_mod@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%edi, %eax
	cltd
	idivl	%r8d
	movq	_log_split_min@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	cmpl	%ecx, %edx
	je	LBB0_5
## %bb.3:
	movq	_TL_ERROR_BAD_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r9d, %edx
	xorl	%eax, %eax
	callq	_tl_fetch_set_error_format
	jmp	LBB0_4
LBB0_1:
	movq	_TL_ERROR_BAD_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_tl_fetch_set_error_format
LBB0_4:
	movl	$-1, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TL_ERROR_BAD_VALUE,4,2         ## @TL_ERROR_BAD_VALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vector_id isn't positive"

	.comm	_log_split_mod,4,2              ## @log_split_mod
	.comm	_log_split_min,4,2              ## @log_split_min
L_.str.1:                               ## @.str.1
	.asciz	"wrong split: vector_id = %d, log_split_min = %d, log_split_mod = %d"

	.no_dead_strip	_check_vector_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_vector_id
_check_vector_id:                       ; @check_vector_id
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, #0
	b.le	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _log_split_mod@GOTPAGE
Lloh1:
	ldr	x8, [x8, _log_split_mod@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	sdiv	w8, w0, w9
	msub	w8, w8, w9, w0
Lloh3:
	adrp	x10, _log_split_min@GOTPAGE
Lloh4:
	ldr	x10, [x10, _log_split_min@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w8, w10
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x8, _TL_ERROR_BAD_VALUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TL_ERROR_BAD_VALUE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _TL_ERROR_BAD_VALUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TL_ERROR_BAD_VALUE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	stp	x10, x9, [sp, #8]
	str	x0, [sp]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x8
LBB0_5:
	bl	_tl_fetch_set_error_format
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_TL_ERROR_BAD_VALUE,4,2         ; @TL_ERROR_BAD_VALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vector_id isn't positive"

	.comm	_log_split_mod,4,2              ; @log_split_mod
	.comm	_log_split_min,4,2              ; @log_split_min
l_.str.1:                               ; @.str.1
	.asciz	"wrong split: vector_id = %d, log_split_min = %d, log_split_mod = %d"

	.no_dead_strip	_check_vector_id
.subsections_via_symbols
