	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lima_init_gp_pipe
_lima_init_gp_pipe:                     ## @lima_init_gp_pipe
	.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	%rdi, %r15
	movq	8(%rdi), %r12
	movq	_lima_pipe_gp@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rax,%rax,2), %rbx
	shlq	$4, %rbx
	leaq	(%r12,%rbx), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_lima_sched_pipe_init
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	_lima_ip_l2_cache0@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	(%r15), %rax
	movq	40(%r12,%rbx), %rcx
	movslq	32(%r12,%rbx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 32(%r12,%rbx)
	movq	%rax, (%rcx,%rdx,8)
	movq	_lima_ip_gpmmu@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	(%r15), %rax
	movq	24(%r12,%rbx), %rcx
	movslq	16(%r12,%rbx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 16(%r12,%rbx)
	movq	%rax, (%rcx,%rdx,8)
	movq	_lima_ip_gp@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	(%r15), %rax
	movq	8(%r12,%rbx), %rcx
	movslq	(%r14), %rdx
	leal	1(%rdx), %esi
	movl	%esi, (%r14)
	movq	%rax, (%rcx,%rdx,8)
	movq	%r15, %rdi
	callq	_lima_gp_pipe_init
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_lima_sched_pipe_fini
	jmp	LBB0_4
LBB0_2:
	xorl	%r13d, %r13d
LBB0_4:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lima_pipe_gp,4,2               ## @lima_pipe_gp
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gp"

	.comm	_lima_ip_l2_cache0,8,3          ## @lima_ip_l2_cache0
	.comm	_lima_ip_gpmmu,8,3              ## @lima_ip_gpmmu
	.comm	_lima_ip_gp,8,3                 ## @lima_ip_gp
	.no_dead_strip	_lima_init_gp_pipe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lima_init_gp_pipe
_lima_init_gp_pipe:                     ; @lima_init_gp_pipe
	.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
	mov	x20, x0
	ldr	x22, [x0, #8]
Lloh0:
	adrp	x8, _lima_pipe_gp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lima_pipe_gp@GOTPAGEOFF]
Lloh2:
	ldrsw	x23, [x8]
	mov	w8, #48
	madd	x19, x23, x8, x22
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_lima_sched_pipe_init
	mov	x21, x0
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _lima_ip_l2_cache0@GOTPAGE
Lloh6:
	ldr	x9, [x9, _lima_ip_l2_cache0@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x8, x9, x8
	mov	w9, #48
	madd	x9, x23, x9, x22
	ldr	x10, [x9, #40]
	ldrsw	x11, [x9, #32]
	add	w12, w11, #1
	str	w12, [x9, #32]
	str	x8, [x10, x11, lsl #3]
	ldr	x8, [x20]
Lloh8:
	adrp	x10, _lima_ip_gpmmu@GOTPAGE
Lloh9:
	ldr	x10, [x10, _lima_ip_gpmmu@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	add	x8, x10, x8
	ldr	x10, [x9, #24]
	ldrsw	x11, [x9, #16]
	add	w12, w11, #1
	str	x8, [x10, x11, lsl #3]
	str	w12, [x9, #16]
	ldr	x8, [x20]
Lloh11:
	adrp	x10, _lima_ip_gp@GOTPAGE
Lloh12:
	ldr	x10, [x10, _lima_ip_gp@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	add	x8, x10, x8
	ldr	x9, [x9, #8]
	ldrsw	x10, [x19]
	add	w11, w10, #1
	str	w11, [x19]
	str	x8, [x9, x10, lsl #3]
	mov	x0, x20
	bl	_lima_gp_pipe_init
	mov	x21, x0
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_lima_sched_pipe_fini
LBB0_3:
	mov	x0, x21
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_lima_pipe_gp,4,2               ; @lima_pipe_gp
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gp"

	.comm	_lima_ip_l2_cache0,8,3          ; @lima_ip_l2_cache0
	.comm	_lima_ip_gpmmu,8,3              ; @lima_ip_gpmmu
	.comm	_lima_ip_gp,8,3                 ; @lima_ip_gp
	.no_dead_strip	_lima_init_gp_pipe
.subsections_via_symbols
