	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ep93xx_gpio_irq_mask_ack
_ep93xx_gpio_irq_mask_ack:              ## @ep93xx_gpio_irq_mask_ack
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_irq_data_get_irq_chip_data
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_gpiochip_get_data
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_ep93xx_gpio_port
	movl	%eax, %r15d
	movl	(%r13), %edi
	andl	$7, %edi
	callq	_BIT
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_irqd_get_trigger_type
	movq	_IRQ_TYPE_EDGE_BOTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_gpio_int_type2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r15d, %rbx
	xorl	%r12d, (%rax,%rbx,4)
	jmp	LBB0_3
LBB0_1:
	movslq	%r15d, %rbx
LBB0_3:
	movl	%r12d, %eax
	notl	%eax
	movq	_gpio_int_unmasked@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andl	%eax, (%rcx,%rbx,4)
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_ep93xx_gpio_update_int_params
	movq	_eoi_register_offset@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rsi
	addq	(%r14), %rsi
	movl	%r12d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writeb                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_TYPE_EDGE_BOTH,8,3         ## @IRQ_TYPE_EDGE_BOTH
	.comm	_gpio_int_type2,8,3             ## @gpio_int_type2
	.comm	_gpio_int_unmasked,8,3          ## @gpio_int_unmasked
	.comm	_eoi_register_offset,8,3        ## @eoi_register_offset
	.no_dead_strip	_ep93xx_gpio_irq_mask_ack
.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_mask_ack
_ep93xx_gpio_irq_mask_ack:              ; @ep93xx_gpio_irq_mask_ack
	.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	x22, x0
	bl	_irq_data_get_irq_chip_data
	mov	x20, x0
	bl	_gpiochip_get_data
	mov	x19, x0
	mov	x0, x20
	bl	_ep93xx_gpio_port
	mov	x21, x0
	ldr	w8, [x22]
	and	w0, w8, #0x7
	bl	_BIT
	mov	x20, x0
	mov	x0, x22
	bl	_irqd_get_trigger_type
Lloh0:
	adrp	x8, _IRQ_TYPE_EDGE_BOTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_TYPE_EDGE_BOTH@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _gpio_int_type2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gpio_int_type2@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	mov	x9, x21
	sxtw	x22, w9
	sbfiz	x9, x9, #2, #32
	ldr	w10, [x8, x9]
	eor	w10, w10, w20
	str	w10, [x8, x9]
	b	LBB0_3
LBB0_2:
	sxtw	x22, w21
LBB0_3:
Lloh6:
	adrp	x8, _gpio_int_unmasked@GOTPAGE
Lloh7:
	ldr	x8, [x8, _gpio_int_unmasked@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	lsl	x9, x22, #2
	ldr	w10, [x8, x9]
	bic	w10, w10, w20
	str	w10, [x8, x9]
	mov	x0, x19
	mov	x1, x21
	bl	_ep93xx_gpio_update_int_params
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _eoi_register_offset@GOTPAGE
Lloh10:
	ldr	x9, [x9, _eoi_register_offset@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x9, [x9, x22, lsl #3]
	add	x1, x9, x8
	mov	x0, x20
	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
	b	_writeb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_TYPE_EDGE_BOTH,8,3         ; @IRQ_TYPE_EDGE_BOTH
	.comm	_gpio_int_type2,8,3             ; @gpio_int_type2
	.comm	_gpio_int_unmasked,8,3          ; @gpio_int_unmasked
	.comm	_eoi_register_offset,8,3        ; @eoi_register_offset
	.no_dead_strip	_ep93xx_gpio_irq_mask_ack
.subsections_via_symbols
