	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ep93xx_gpio_irq_type
_ep93xx_gpio_irq_type:                  ## @ep93xx_gpio_irq_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r13
	callq	_irq_data_get_irq_chip_data
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_gpiochip_get_data
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_ep93xx_gpio_port
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r13), %r15d
	andl	$7, %r15d
	movl	%r15d, %edi
	callq	_BIT
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	*8(%rbx)
	addl	$-128, %r14d
	cmpl	$4, %r14d
	ja	LBB0_14
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r14,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	movl	%r12d, %eax
	notl	%eax
	movq	_gpio_int_type1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movslq	%r15d, %r14
	andl	%eax, (%rcx,%r14,4)
	movq	_gpio_int_type2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andl	%eax, (%rcx,%r14,4)
	jmp	LBB0_6
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_13
LBB0_5:
	movl	%r12d, %eax
	notl	%eax
	movq	_gpio_int_type1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movslq	%r15d, %r14
	andl	%eax, (%rcx,%r14,4)
	movq	_gpio_int_type2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orl	%r12d, (%rax,%r14,4)
LBB0_6:
	movq	_handle_level_irq@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_2:
	movq	_gpio_int_type1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movslq	%r15d, %r14
	orl	%r12d, (%rax,%r14,4)
	movq	_gpio_int_type2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orl	%r12d, (%rax,%r14,4)
	jmp	LBB0_3
LBB0_4:
	movq	_gpio_int_type1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movslq	%r15d, %r14
	orl	%r12d, (%rax,%r14,4)
	movl	%r12d, %eax
	notl	%eax
	movq	_gpio_int_type2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andl	%eax, (%rcx,%r14,4)
LBB0_3:
	movq	_handle_edge_irq@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_8:
	movq	_gpio_int_type1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	-44(%rbp), %r14                 ## 4-byte Folded Reload
	orl	%r12d, (%rax,%r14,4)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	*(%rbx)
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%r12d, %eax
	notl	%eax
	movq	_gpio_int_type2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andl	%eax, (%rcx,%r14,4)
	jmp	LBB0_11
LBB0_10:
	movq	_gpio_int_type2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orl	%r12d, (%rax,%r14,4)
LBB0_11:
	movq	_handle_edge_irq@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_12:
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_irq_set_handler_locked
	movq	_gpio_int_enabled@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orl	%r12d, (%rax,%r14,4)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_ep93xx_gpio_update_int_params
	xorl	%eax, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_gpio_int_type1,8,3             ## @gpio_int_type1
	.comm	_gpio_int_type2,8,3             ## @gpio_int_type2
	.comm	_handle_edge_irq,4,2            ## @handle_edge_irq
	.comm	_handle_level_irq,4,2           ## @handle_level_irq
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_gpio_int_enabled,8,3           ## @gpio_int_enabled
	.no_dead_strip	_ep93xx_gpio_irq_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ep93xx_gpio_irq_type
_ep93xx_gpio_irq_type:                  ; @ep93xx_gpio_irq_type
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x25, x1
	mov	x20, x0
	bl	_irq_data_get_irq_chip_data
	mov	x23, x0
	bl	_gpiochip_get_data
	mov	x19, x0
	mov	x0, x23
	bl	_ep93xx_gpio_port
	mov	x21, x0
	ldr	w8, [x20]
	and	w24, w8, #0x7
	mov	x0, x24
	bl	_BIT
	mov	x22, x0
	ldr	x8, [x23, #8]
	mov	x0, x23
	mov	x1, x24
	blr	x8
	sub	w8, w25, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _gpio_int_type1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _gpio_int_type1@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	mov	x9, x21
	sbfiz	x10, x9, #2, #32
	ldr	w11, [x8, x10]
	bic	w11, w11, w22
	str	w11, [x8, x10]
Lloh5:
	adrp	x8, _gpio_int_type2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _gpio_int_type2@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w11, [x8, x10]
	sxtw	x25, w9
	bic	w9, w11, w22
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_4:
Lloh11:
	adrp	x8, _gpio_int_type1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _gpio_int_type1@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	mov	x9, x21
	sbfiz	x10, x9, #2, #32
	ldr	w11, [x8, x10]
	bic	w11, w11, w22
	str	w11, [x8, x10]
Lloh14:
	adrp	x8, _gpio_int_type2@GOTPAGE
Lloh15:
	ldr	x8, [x8, _gpio_int_type2@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	w11, [x8, x10]
	sxtw	x25, w9
	orr	w9, w11, w22
LBB0_5:
	str	w9, [x8, x10]
Lloh17:
	adrp	x8, _handle_level_irq@GOTPAGE
Lloh18:
	ldr	x8, [x8, _handle_level_irq@GOTPAGEOFF]
	b	LBB0_13
LBB0_6:
Lloh19:
	adrp	x8, _gpio_int_type1@GOTPAGE
Lloh20:
	ldr	x8, [x8, _gpio_int_type1@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	mov	x9, x21
	sbfiz	x10, x9, #2, #32
	ldr	w11, [x8, x10]
	orr	w11, w11, w22
	str	w11, [x8, x10]
Lloh22:
	adrp	x8, _gpio_int_type2@GOTPAGE
Lloh23:
	ldr	x8, [x8, _gpio_int_type2@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	ldr	w11, [x8, x10]
	sxtw	x25, w9
	orr	w9, w11, w22
	str	w9, [x8, x10]
	b	LBB0_12
LBB0_7:
Lloh25:
	adrp	x8, _gpio_int_type1@GOTPAGE
Lloh26:
	ldr	x8, [x8, _gpio_int_type1@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	mov	x9, x21
	sbfiz	x10, x9, #2, #32
	ldr	w11, [x8, x10]
	orr	w11, w11, w22
	str	w11, [x8, x10]
Lloh28:
	adrp	x8, _gpio_int_type2@GOTPAGE
Lloh29:
	ldr	x8, [x8, _gpio_int_type2@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	ldr	w11, [x8, x10]
	sxtw	x25, w9
	bic	w9, w11, w22
	str	w9, [x8, x10]
	b	LBB0_12
LBB0_8:
Lloh31:
	adrp	x8, _gpio_int_type1@GOTPAGE
Lloh32:
	ldr	x8, [x8, _gpio_int_type1@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	sxtw	x25, w21
	sbfiz	x9, x21, #2, #32
	ldr	w10, [x8, x9]
	orr	w10, w10, w22
	str	w10, [x8, x9]
	ldr	x8, [x23]
	mov	x0, x23
	mov	x1, x24
	blr	x8
Lloh34:
	adrp	x8, _gpio_int_type2@GOTPAGE
Lloh35:
	ldr	x8, [x8, _gpio_int_type2@GOTPAGEOFF]
	cbz	w0, LBB0_10
; %bb.9:
	ldr	x8, [x8]
	lsl	x9, x25, #2
	ldr	w10, [x8, x9]
	bic	w10, w10, w22
	b	LBB0_11
LBB0_10:
	ldr	x8, [x8]
	lsl	x9, x25, #2
	ldr	w10, [x8, x9]
	orr	w10, w10, w22
LBB0_11:
	str	w10, [x8, x9]
LBB0_12:
Lloh36:
	adrp	x8, _handle_edge_irq@GOTPAGE
Lloh37:
	ldr	x8, [x8, _handle_edge_irq@GOTPAGEOFF]
LBB0_13:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_irq_set_handler_locked
Lloh38:
	adrp	x8, _gpio_int_enabled@GOTPAGE
Lloh39:
	ldr	x8, [x8, _gpio_int_enabled@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	lsl	x9, x25, #2
	ldr	w10, [x8, x9]
	orr	w10, w10, w22
	str	w10, [x8, x9]
	mov	x0, x19
	mov	x1, x21
	bl	_ep93xx_gpio_update_int_params
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_gpio_int_type1,8,3             ; @gpio_int_type1
	.comm	_gpio_int_type2,8,3             ; @gpio_int_type2
	.comm	_handle_edge_irq,4,2            ; @handle_edge_irq
	.comm	_handle_level_irq,4,2           ; @handle_level_irq
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_gpio_int_enabled,8,3           ; @gpio_int_enabled
	.no_dead_strip	_ep93xx_gpio_irq_type
.subsections_via_symbols
