	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_gr_new_                  ## -- Begin function gf100_gr_new_
	.p2align	4, 0x90
_gf100_gr_new_:                         ## @gf100_gr_new_
	.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	%rcx, %r12
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	addq	$24, %rax
	movq	%rax, (%r12)
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	movq	%rbx, %rcx
	callq	_gf100_gr_ctor
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.3:
	xorl	%r14d, %r14d
	cmpq	$0, 16(%rbx)
	je	LBB0_10
## %bb.4:
	leaq	12(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_gf100_gr_ctor_fw
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:
	leaq	8(%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_gf100_gr_ctor_fw
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	%rbx, %rdx
	addq	$4, %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_gf100_gr_ctor_fw
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rbx, %rdx
	callq	_gf100_gr_ctor_fw
	testq	%rax, %rax
	je	LBB0_10
LBB0_8:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_9:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fecs_inst"

L_.str.1:                               ## @.str.1
	.asciz	"fecs_data"

L_.str.2:                               ## @.str.2
	.asciz	"gpccs_inst"

L_.str.3:                               ## @.str.3
	.asciz	"gpccs_data"

	.comm	_ENODEV,4,2                     ## @ENODEV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gf100_gr_new_                  ; -- Begin function gf100_gr_new_
	.p2align	2
_gf100_gr_new_:                         ; @gf100_gr_new_
	.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	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	add	x8, x0, #24
	str	x8, [x22]
	mov	x0, x23
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_gf100_gr_ctor
	cbnz	w0, LBB0_10
; %bb.2:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_11
; %bb.3:
	add	x2, x19, #12
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_gf100_gr_ctor_fw
	cbnz	x0, LBB0_7
; %bb.4:
	add	x2, x19, #8
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_gf100_gr_ctor_fw
	cbnz	x0, LBB0_7
; %bb.5:
	add	x2, x19, #4
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_gf100_gr_ctor_fw
	cbnz	x0, LBB0_7
; %bb.6:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, x19
	bl	_gf100_gr_ctor_fw
	cbz	x0, LBB0_10
LBB0_7:
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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
LBB0_11:
	mov	w0, #0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fecs_inst"

l_.str.1:                               ; @.str.1
	.asciz	"fecs_data"

l_.str.2:                               ; @.str.2
	.asciz	"gpccs_inst"

l_.str.3:                               ; @.str.3
	.asciz	"gpccs_data"

	.comm	_ENODEV,4,2                     ; @ENODEV
.subsections_via_symbols
