	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lima_ioctl_gem_create
_lima_ioctl_gem_create:                 ## @lima_ioctl_gem_create
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 24(%rsi)
	jne	LBB0_3
## %bb.1:
	movq	%rsi, %r8
	cmpq	$0, 16(%rsi)
	je	LBB0_2
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	(%r8), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	addq	$8, %r8
	movq	%rdx, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	popq	%rbp
	jmp	_lima_gem_create_handle         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_lima_ioctl_gem_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lima_ioctl_gem_create
_lima_ioctl_gem_create:                 ; @lima_ioctl_gem_create
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1, #24]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_3:
	ldr	x8, [x1]
	cbz	x8, LBB0_2
; %bb.4:
	add	x4, x1, #8
	mov	x1, x2
	mov	x2, x8
	mov	x3, #0
	b	_lima_gem_create_handle
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_lima_ioctl_gem_create
.subsections_via_symbols
