	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_gpio_create_           ## -- Begin function nouveau_gpio_create_
	.p2align	4, 0x90
_nouveau_gpio_create_:                  ## @nouveau_gpio_create_
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%r9, %rbx
	movl	%r8d, %eax
	movl	%ecx, %r14d
	leaq	L_.str(%rip), %r8
	leaq	L_.str.1(%rip), %r9
	xorl	%ecx, %ecx
	pushq	%rbx
	pushq	%rax
	callq	_nouveau_subdev_create_
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	(%rbx), %rbx
	leaq	12(%rbx), %rsi
	movl	%r14d, %edi
	callq	_nouveau_event_create
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_nouveau_gpio_find@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_nouveau_gpio_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_nouveau_gpio_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GPIO"

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

	.comm	_nouveau_gpio_find,4,2          ## @nouveau_gpio_find
	.comm	_nouveau_gpio_set,4,2           ## @nouveau_gpio_set
	.comm	_nouveau_gpio_get,4,2           ## @nouveau_gpio_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_gpio_create_           ; -- Begin function nouveau_gpio_create_
	.p2align	2
_nouveau_gpio_create_:                  ; @nouveau_gpio_create_
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x5
	mov	x6, x4
	mov	x19, x3
Lloh0:
	adrp	x4, l_.str@PAGE
Lloh1:
	add	x4, x4, l_.str@PAGEOFF
Lloh2:
	adrp	x5, l_.str.1@PAGE
Lloh3:
	add	x5, x5, l_.str.1@PAGEOFF
	mov	w3, #0
	mov	x7, x20
	bl	_nouveau_subdev_create_
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	x20, [x20]
	add	x1, x20, #12
	mov	x0, x19
	bl	_nouveau_event_create
	cbnz	w0, LBB0_3
; %bb.2:
Lloh4:
	adrp	x8, _nouveau_gpio_find@GOTPAGE
Lloh5:
	ldr	x8, [x8, _nouveau_gpio_find@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x20, #8]
Lloh7:
	adrp	x8, _nouveau_gpio_set@GOTPAGE
Lloh8:
	ldr	x8, [x8, _nouveau_gpio_set@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _nouveau_gpio_get@GOTPAGE
Lloh11:
	ldr	x9, [x9, _nouveau_gpio_get@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x20]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GPIO"

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

	.comm	_nouveau_gpio_find,4,2          ; @nouveau_gpio_find
	.comm	_nouveau_gpio_set,4,2           ; @nouveau_gpio_set
	.comm	_nouveau_gpio_get,4,2           ; @nouveau_gpio_get
.subsections_via_symbols
