	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_gpio_pic_map_gpio
_tegra_gpio_pic_map_gpio:               ## @tegra_gpio_pic_map_gpio
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	%rsi, (%rdi)
	jle	LBB0_1
## %bb.2:
	addq	$-128, %rcx
	cmpq	$5, %rcx
	ja	LBB0_1
## %bb.3:
	xorl	%edx, %edx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_8:
	movq	_GPIO_INT_LVL_HIGH@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_4:
	movq	_GPIO_INT_LVL_EDGE@GOTPCREL(%rip), %rax
	movq	_GPIO_INT_LVL_HIGH@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_7:
	movq	_GPIO_INT_LVL_EDGE@GOTPCREL(%rip), %rax
	movq	_GPIO_INT_LVL_DELTA@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %edx
	orl	(%rax), %edx
	jmp	LBB0_10
LBB0_6:
	movq	_GPIO_INT_LVL_EDGE@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edx
LBB0_10:
	movq	%rsi, (%r8)
	xorl	%eax, %eax
	testq	%r9, %r9
	je	LBB0_12
## %bb.11:
	movl	%edx, (%r9)
LBB0_12:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GPIO_INT_LVL_HIGH,4,2          ## @GPIO_INT_LVL_HIGH
	.comm	_GPIO_INT_LVL_EDGE,4,2          ## @GPIO_INT_LVL_EDGE
	.comm	_GPIO_INT_LVL_DELTA,4,2         ## @GPIO_INT_LVL_DELTA
	.no_dead_strip	_tegra_gpio_pic_map_gpio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_gpio_pic_map_gpio
_tegra_gpio_pic_map_gpio:               ; @tegra_gpio_pic_map_gpio
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cmp	x8, x1
	b.le	LBB0_4
; %bb.1:
	sub	x9, x3, #128
	cmp	x9, #5
	b.hi	LBB0_4
; %bb.2:
	mov	w8, #0
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
Lloh2:
	adrp	x8, _GPIO_INT_LVL_HIGH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GPIO_INT_LVL_HIGH@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh7:
	adrp	x8, _GPIO_INT_LVL_EDGE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GPIO_INT_LVL_EDGE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _GPIO_INT_LVL_HIGH@GOTPAGE
Lloh11:
	ldr	x9, [x9, _GPIO_INT_LVL_HIGH@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _GPIO_INT_LVL_EDGE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GPIO_INT_LVL_EDGE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _GPIO_INT_LVL_DELTA@GOTPAGE
Lloh16:
	ldr	x9, [x9, _GPIO_INT_LVL_DELTA@GOTPAGEOFF]
LBB0_7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_10
LBB0_8:
Lloh17:
	adrp	x8, _GPIO_INT_LVL_EDGE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GPIO_INT_LVL_EDGE@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
LBB0_10:
	str	x1, [x4]
	mov	w0, #0
	cbz	x5, LBB0_12
; %bb.11:
	str	w8, [x5]
LBB0_12:
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GPIO_INT_LVL_HIGH,4,2          ; @GPIO_INT_LVL_HIGH
	.comm	_GPIO_INT_LVL_EDGE,4,2          ; @GPIO_INT_LVL_EDGE
	.comm	_GPIO_INT_LVL_DELTA,4,2         ; @GPIO_INT_LVL_DELTA
	.no_dead_strip	_tegra_gpio_pic_map_gpio
.subsections_via_symbols
