	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lima_gp_task_validate
_lima_gp_task_validate:                 ## @lima_gp_task_validate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movq	(%rax), %rax
	movq	_LIMA_GP_VSCL_START_ADDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	_LIMA_GP_VSCL_END_ADDR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	sarl	$2, %edx
	movslq	%edx, %rdx
	movq	(%rax,%rdx,8), %rdx
	cmpq	%rdx, %rcx
	jg	LBB0_5
## %bb.1:
	movq	_LIMA_GP_PLBUCL_START_ADDR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	sarl	$2, %esi
	movslq	%esi, %rsi
	movq	(%rax,%rsi,8), %r8
	movq	_LIMA_GP_PLBUCL_END_ADDR@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	sarl	$2, %edi
	movslq	%edi, %rdi
	movq	(%rax,%rdi,8), %rdi
	cmpq	%rdi, %r8
	jg	LBB0_5
## %bb.2:
	movq	_LIMA_GP_PLBU_ALLOC_START_ADDR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	sarl	$2, %esi
	movslq	%esi, %rsi
	movq	(%rax,%rsi,8), %r9
	movq	_LIMA_GP_PLBU_ALLOC_END_ADDR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	sarl	$2, %esi
	movslq	%esi, %rsi
	cmpq	(%rax,%rsi,8), %r9
	jg	LBB0_5
## %bb.3:
	xorl	%eax, %eax
	cmpq	%rdx, %rcx
	jne	LBB0_6
## %bb.4:
	cmpq	%rdi, %r8
	jne	LBB0_6
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIMA_GP_VSCL_START_ADDR,4,2    ## @LIMA_GP_VSCL_START_ADDR
	.comm	_LIMA_GP_VSCL_END_ADDR,4,2      ## @LIMA_GP_VSCL_END_ADDR
	.comm	_LIMA_GP_PLBUCL_START_ADDR,4,2  ## @LIMA_GP_PLBUCL_START_ADDR
	.comm	_LIMA_GP_PLBUCL_END_ADDR,4,2    ## @LIMA_GP_PLBUCL_END_ADDR
	.comm	_LIMA_GP_PLBU_ALLOC_START_ADDR,4,2 ## @LIMA_GP_PLBU_ALLOC_START_ADDR
	.comm	_LIMA_GP_PLBU_ALLOC_END_ADDR,4,2 ## @LIMA_GP_PLBU_ALLOC_END_ADDR
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_lima_gp_task_validate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lima_gp_task_validate
_lima_gp_task_validate:                 ; @lima_gp_task_validate
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	ldr	x9, [x8]
Lloh0:
	adrp	x8, _LIMA_GP_VSCL_START_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIMA_GP_VSCL_START_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	asr	w8, w8, #2
	ldr	x8, [x9, w8, sxtw #3]
Lloh3:
	adrp	x10, _LIMA_GP_VSCL_END_ADDR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _LIMA_GP_VSCL_END_ADDR@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	asr	w10, w10, #2
	ldr	x10, [x9, w10, sxtw #3]
	cmp	x8, x10
	b.gt	LBB0_5
; %bb.1:
Lloh6:
	adrp	x11, _LIMA_GP_PLBUCL_START_ADDR@GOTPAGE
Lloh7:
	ldr	x11, [x11, _LIMA_GP_PLBUCL_START_ADDR@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	asr	w11, w11, #2
	ldr	x11, [x9, w11, sxtw #3]
Lloh9:
	adrp	x12, _LIMA_GP_PLBUCL_END_ADDR@GOTPAGE
Lloh10:
	ldr	x12, [x12, _LIMA_GP_PLBUCL_END_ADDR@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	asr	w12, w12, #2
	ldr	x12, [x9, w12, sxtw #3]
	cmp	x11, x12
	b.gt	LBB0_5
; %bb.2:
Lloh12:
	adrp	x13, _LIMA_GP_PLBU_ALLOC_START_ADDR@GOTPAGE
Lloh13:
	ldr	x13, [x13, _LIMA_GP_PLBU_ALLOC_START_ADDR@GOTPAGEOFF]
Lloh14:
	ldr	w13, [x13]
	asr	w13, w13, #2
	ldr	x13, [x9, w13, sxtw #3]
Lloh15:
	adrp	x14, _LIMA_GP_PLBU_ALLOC_END_ADDR@GOTPAGE
Lloh16:
	ldr	x14, [x14, _LIMA_GP_PLBU_ALLOC_END_ADDR@GOTPAGEOFF]
Lloh17:
	ldr	w14, [x14]
	asr	w14, w14, #2
	ldr	x9, [x9, w14, sxtw #3]
	cmp	x13, x9
	b.gt	LBB0_5
; %bb.3:
	cmp	x8, x10
	ccmp	x11, x12, #0, eq
	b.eq	LBB0_5
; %bb.4:
	mov	w0, #0
	ret
LBB0_5:
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_LIMA_GP_VSCL_START_ADDR,4,2    ; @LIMA_GP_VSCL_START_ADDR
	.comm	_LIMA_GP_VSCL_END_ADDR,4,2      ; @LIMA_GP_VSCL_END_ADDR
	.comm	_LIMA_GP_PLBUCL_START_ADDR,4,2  ; @LIMA_GP_PLBUCL_START_ADDR
	.comm	_LIMA_GP_PLBUCL_END_ADDR,4,2    ; @LIMA_GP_PLBUCL_END_ADDR
	.comm	_LIMA_GP_PLBU_ALLOC_START_ADDR,4,2 ; @LIMA_GP_PLBU_ALLOC_START_ADDR
	.comm	_LIMA_GP_PLBU_ALLOC_END_ADDR,4,2 ; @LIMA_GP_PLBU_ALLOC_END_ADDR
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_lima_gp_task_validate
.subsections_via_symbols
