	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_gpio_pic_map_fdt
_tegra_gpio_pic_map_fdt:                ## @tegra_gpio_pic_map_fdt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$2, %esi
	jne	LBB0_2
## %bb.1:
	movl	(%rdx), %eax
	cmpl	(%rdi), %eax
	jge	LBB0_2
## %bb.3:
	movl	4(%rdx), %esi
	decl	%esi
	cmpl	$7, %esi
	ja	LBB0_2
## %bb.4:
	xorl	%edx, %edx
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rsi,4), %rsi
	addq	%rdi, %rsi
	jmpq	*%rsi
LBB0_5:
	movq	_GPIO_INT_LVL_EDGE@GOTPCREL(%rip), %rsi
	movq	_GPIO_INT_LVL_HIGH@GOTPCREL(%rip), %rdx
	jmp	LBB0_6
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_9:
	movq	_GPIO_INT_LVL_EDGE@GOTPCREL(%rip), %rdx
	jmp	LBB0_10
LBB0_7:
	movq	_GPIO_INT_LVL_EDGE@GOTPCREL(%rip), %rsi
	movq	_GPIO_INT_LVL_DELTA@GOTPCREL(%rip), %rdx
LBB0_6:
	movl	(%rdx), %edx
	orl	(%rsi), %edx
	jmp	LBB0_11
LBB0_8:
	movq	_GPIO_INT_LVL_HIGH@GOTPCREL(%rip), %rdx
LBB0_10:
	movl	(%rdx), %edx
LBB0_11:
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	testq	%r8, %r8
	je	LBB0_13
## %bb.12:
	movl	%edx, (%r8)
LBB0_13:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GPIO_INT_LVL_EDGE,4,2          ## @GPIO_INT_LVL_EDGE
	.comm	_GPIO_INT_LVL_HIGH,4,2          ## @GPIO_INT_LVL_HIGH
	.comm	_GPIO_INT_LVL_DELTA,4,2         ## @GPIO_INT_LVL_DELTA
	.no_dead_strip	_tegra_gpio_pic_map_fdt
.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_fdt
_tegra_gpio_pic_map_fdt:                ; @tegra_gpio_pic_map_fdt
	.cfi_startproc
; %bb.0:
	cmp	w1, #2
	b.ne	LBB0_5
; %bb.1:
	ldr	w8, [x2]
	ldr	w9, [x0]
	cmp	w8, w9
	b.ge	LBB0_5
; %bb.2:
	ldr	w9, [x2, #4]
	sub	w10, w9, #1
	cmp	w10, #7
	b.hi	LBB0_5
; %bb.3:
	mov	w9, #0
Lloh0:
	adrp	x11, lJTI0_0@PAGE
Lloh1:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_4
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_4:
Lloh2:
	adrp	x9, _GPIO_INT_LVL_EDGE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _GPIO_INT_LVL_EDGE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _GPIO_INT_LVL_HIGH@GOTPAGE
Lloh6:
	ldr	x10, [x10, _GPIO_INT_LVL_HIGH@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh10:
	adrp	x9, _GPIO_INT_LVL_EDGE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _GPIO_INT_LVL_EDGE@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh12:
	adrp	x9, _GPIO_INT_LVL_EDGE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _GPIO_INT_LVL_EDGE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _GPIO_INT_LVL_DELTA@GOTPAGE
Lloh16:
	ldr	x10, [x10, _GPIO_INT_LVL_DELTA@GOTPAGEOFF]
LBB0_8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	b	LBB0_11
LBB0_9:
Lloh17:
	adrp	x9, _GPIO_INT_LVL_HIGH@GOTPAGE
Lloh18:
	ldr	x9, [x9, _GPIO_INT_LVL_HIGH@GOTPAGEOFF]
LBB0_10:
	ldr	w9, [x9]
LBB0_11:
	str	w8, [x3]
	mov	w0, #0
	cbz	x4, LBB0_13
; %bb.12:
	str	w9, [x4]
LBB0_13:
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GPIO_INT_LVL_EDGE,4,2          ; @GPIO_INT_LVL_EDGE
	.comm	_GPIO_INT_LVL_HIGH,4,2          ; @GPIO_INT_LVL_HIGH
	.comm	_GPIO_INT_LVL_DELTA,4,2         ; @GPIO_INT_LVL_DELTA
	.no_dead_strip	_tegra_gpio_pic_map_fdt
.subsections_via_symbols
