	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv50_gpio_location
_nv50_gpio_location:                    ## @nv50_gpio_location
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$32, %edi
	jl	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movl	%edi, %eax
	sarl	$3, %eax
	cltq
	leaq	L___const.nv50_gpio_location.nv50_gpio_reg(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, (%rsi)
	shll	$2, %edi
	andl	$28, %edi
	movl	%edi, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.nv50_gpio_location.nv50_gpio_reg
L___const.nv50_gpio_location.nv50_gpio_reg:
	.long	57604                           ## 0xe104
	.long	57608                           ## 0xe108
	.long	57984                           ## 0xe280
	.long	57988                           ## 0xe284

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_nv50_gpio_location
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv50_gpio_location
_nv50_gpio_location:                    ; @nv50_gpio_location
	.cfi_startproc
; %bb.0:
	cmp	w0, #32
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	mov	x8, x0
	mov	w0, #0
Lloh3:
	adrp	x9, l___const.nv50_gpio_location.nv50_gpio_reg@PAGE
Lloh4:
	add	x9, x9, l___const.nv50_gpio_location.nv50_gpio_reg@PAGEOFF
	asr	w10, w8, #3
	ldr	w9, [x9, w10, sxtw #2]
	str	w9, [x1]
	ubfiz	w8, w8, #2, #3
	str	w8, [x2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @__const.nv50_gpio_location.nv50_gpio_reg
l___const.nv50_gpio_location.nv50_gpio_reg:
	.long	57604                           ; 0xe104
	.long	57608                           ; 0xe108
	.long	57984                           ; 0xe280
	.long	57988                           ; 0xe284

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_nv50_gpio_location
.subsections_via_symbols
