	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dln2_irq_set_type
_dln2_irq_set_type:                     ## @dln2_irq_set_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_irq_data_get_irq_chip_data
	movq	%rax, %rdi
	callq	_gpiochip_get_data
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_irqd_to_hwirq
	addl	$-128, %ebx
	cmpl	$4, %ebx
	ja	LBB0_8
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_4:
	movq	_DLN2_GPIO_EVENT_LVL_LOW@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_2:
	movq	_DLN2_GPIO_EVENT_LVL_HIGH@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_6:
	movq	_DLN2_GPIO_EVENT_CHANGE_RISING@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_7:
	movq	_DLN2_GPIO_EVENT_CHANGE_FALLING@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_5:
	movq	_DLN2_GPIO_EVENT_CHANGE@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movq	(%r14), %rdx
	cltq
	movl	%ecx, (%rdx,%rax,4)
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_DLN2_GPIO_EVENT_LVL_HIGH,4,2   ## @DLN2_GPIO_EVENT_LVL_HIGH
	.comm	_DLN2_GPIO_EVENT_LVL_LOW,4,2    ## @DLN2_GPIO_EVENT_LVL_LOW
	.comm	_DLN2_GPIO_EVENT_CHANGE,4,2     ## @DLN2_GPIO_EVENT_CHANGE
	.comm	_DLN2_GPIO_EVENT_CHANGE_RISING,4,2 ## @DLN2_GPIO_EVENT_CHANGE_RISING
	.comm	_DLN2_GPIO_EVENT_CHANGE_FALLING,4,2 ## @DLN2_GPIO_EVENT_CHANGE_FALLING
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_dln2_irq_set_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dln2_irq_set_type
_dln2_irq_set_type:                     ; @dln2_irq_set_type
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_irq_data_get_irq_chip_data
	bl	_gpiochip_get_data
	mov	x19, x0
	mov	x0, x21
	bl	_irqd_to_hwirq
	sub	w9, w20, #128
	cmp	w9, #4
	b.hi	LBB0_3
; %bb.1:
	mov	x8, x0
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	mov	w0, #0
Lloh2:
	adrp	x9, _DLN2_GPIO_EVENT_LVL_LOW@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DLN2_GPIO_EVENT_LVL_LOW@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_4:
	mov	w0, #0
Lloh7:
	adrp	x9, _DLN2_GPIO_EVENT_LVL_HIGH@GOTPAGE
Lloh8:
	ldr	x9, [x9, _DLN2_GPIO_EVENT_LVL_HIGH@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	mov	w0, #0
Lloh9:
	adrp	x9, _DLN2_GPIO_EVENT_CHANGE_RISING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DLN2_GPIO_EVENT_CHANGE_RISING@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	mov	w0, #0
Lloh11:
	adrp	x9, _DLN2_GPIO_EVENT_CHANGE_FALLING@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DLN2_GPIO_EVENT_CHANGE_FALLING@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	mov	w0, #0
Lloh13:
	adrp	x9, _DLN2_GPIO_EVENT_CHANGE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _DLN2_GPIO_EVENT_CHANGE@GOTPAGEOFF]
LBB0_8:
	ldr	w9, [x9]
	ldr	x10, [x19]
	str	w9, [x10, w8, sxtw #2]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_DLN2_GPIO_EVENT_LVL_HIGH,4,2   ; @DLN2_GPIO_EVENT_LVL_HIGH
	.comm	_DLN2_GPIO_EVENT_LVL_LOW,4,2    ; @DLN2_GPIO_EVENT_LVL_LOW
	.comm	_DLN2_GPIO_EVENT_CHANGE,4,2     ; @DLN2_GPIO_EVENT_CHANGE
	.comm	_DLN2_GPIO_EVENT_CHANGE_RISING,4,2 ; @DLN2_GPIO_EVENT_CHANGE_RISING
	.comm	_DLN2_GPIO_EVENT_CHANGE_FALLING,4,2 ; @DLN2_GPIO_EVENT_CHANGE_FALLING
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_dln2_irq_set_type
.subsections_via_symbols
