	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcf50633_irq
_pcf50633_irq:                          ## @pcf50633_irq
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_PCF50633_REG_INT1@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	callq	_pcf50633_read_block
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %ebx
	jne	LBB0_1
## %bb.2:
	movq	_PCF50633_REG_OOCSHDWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_pcf50633_reg_write
	movl	-64(%rbp), %edx
	movq	_PCF50633_INT1_USBINS@GOTPCREL(%rip), %r15
	movq	_PCF50633_INT1_USBREM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	orl	(%r15), %eax
	testl	%edx, %eax
	je	LBB0_7
## %bb.3:
	movq	_PCF50633_REG_MBCS2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pcf50633_reg_read
	testb	$48, %al
	je	LBB0_5
## %bb.4:
	movl	(%rbx), %edx
	jmp	LBB0_6
LBB0_1:
	movl	40(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_49
LBB0_5:
	movl	(%r15), %edx
LBB0_6:
	notl	%edx
	andl	-64(%rbp), %edx
	movl	%edx, -64(%rbp)
LBB0_7:
	movq	_PCF50633_INT1_ADPINS@GOTPCREL(%rip), %r15
	movq	_PCF50633_INT1_ADPREM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	orl	(%r15), %eax
	testl	%edx, %eax
	je	LBB0_12
## %bb.8:
	movq	_PCF50633_REG_MBCS2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pcf50633_reg_read
	testb	$48, %al
	je	LBB0_10
## %bb.9:
	movl	(%rbx), %edx
	jmp	LBB0_11
LBB0_10:
	movl	(%r15), %edx
LBB0_11:
	notl	%edx
	andl	-64(%rbp), %edx
	movl	%edx, -64(%rbp)
LBB0_12:
	movl	40(%r14), %edi
	movl	-60(%rbp), %ecx
	movl	-56(%rbp), %r8d
	movl	-52(%rbp), %r9d
	movl	-48(%rbp), %eax
	movl	%eax, (%rsp)
	leaq	L_.str.1(%rip), %rsi
	callq	_dev_dbg
	movq	_PCF50633_INT1_SECOND@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, -64(%rbp)
	je	LBB0_17
## %bb.13:
	movl	(%r14), %edx
	testl	%edx, %edx
	je	LBB0_17
## %bb.14:
	movl	40(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movslq	(%r14), %rax
	leal	1(%rax), %ecx
	movl	%ecx, (%r14)
	movq	_PCF50633_ONKEY1S_TIMEOUT@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_17
## %bb.15:
	movq	24(%r14), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	%r14, %rdi
	callq	*%rax
LBB0_17:
	movq	_PCF50633_INT3_ONKEY1S@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -56(%rbp)
	je	LBB0_19
## %bb.18:
	movl	40(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movl	$1, (%r14)
	movq	_PCF50633_REG_INT1M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_pcf50633_reg_clear_bits
	movq	_PCF50633_REG_INT2M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PCF50633_INT2_ONKEYR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_pcf50633_reg_clear_bits
LBB0_19:
	movq	_PCF50633_INT2_ONKEYR@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, -60(%rbp)
	je	LBB0_25
## %bb.20:
	cmpl	$0, (%r14)
	je	LBB0_25
## %bb.21:
	movl	$0, (%r14)
	movq	8(%r14), %rax
	movl	(%rbx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_23
## %bb.22:
	movq	_PCF50633_REG_INT1M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ecx, %edx
	callq	_pcf50633_reg_set_bit_mask
	movq	8(%r14), %rax
LBB0_23:
	movl	(%r15), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_25
## %bb.24:
	movq	_PCF50633_REG_INT2M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ecx, %edx
	callq	_pcf50633_reg_set_bit_mask
LBB0_25:
	cmpq	$0, 32(%r14)
	je	LBB0_30
## %bb.26:
	movq	$0, 32(%r14)
	leaq	-64(%rbp), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_29
## %bb.27:
	xorl	%ebx, %ebx
	leaq	-64(%rbp), %r12
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	24(%r14), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rbx,4), %ecx
	andl	-64(%rbp,%rbx,4), %ecx
	movl	%ecx, (%rax,%rbx,4)
	incq	%rbx
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_28
LBB0_29:
	movq	_PCF50633_INT2_ONKEYF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r15), %eax
	notl	%eax
	andl	%eax, -60(%rbp)
LBB0_30:
	leaq	-64(%rbp), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_49
## %bb.31:
	movl	$7, %r12d
	xorl	%ebx, %ebx
	leaq	-64(%rbp), %r15
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_32 Depth=1
	incq	%rbx
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	cltq
	addl	$8, %r12d
	cmpq	%rax, %rbx
	jge	LBB0_49
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movl	(%rax,%rbx,4), %eax
	notl	%eax
	andl	-64(%rbp,%rbx,4), %eax
	movl	%eax, -64(%rbp,%rbx,4)
	testb	$1, %al
	jne	LBB0_33
## %bb.34:                              ##   in Loop: Header=BB0_32 Depth=1
	testb	$2, %al
	jne	LBB0_35
LBB0_36:                                ##   in Loop: Header=BB0_32 Depth=1
	testb	$4, %al
	jne	LBB0_37
LBB0_38:                                ##   in Loop: Header=BB0_32 Depth=1
	testb	$8, %al
	jne	LBB0_39
LBB0_40:                                ##   in Loop: Header=BB0_32 Depth=1
	testb	$16, %al
	jne	LBB0_41
LBB0_42:                                ##   in Loop: Header=BB0_32 Depth=1
	testb	$32, %al
	jne	LBB0_43
LBB0_44:                                ##   in Loop: Header=BB0_32 Depth=1
	testb	$64, %al
	jne	LBB0_45
LBB0_46:                                ##   in Loop: Header=BB0_32 Depth=1
	testb	$-128, %al
	je	LBB0_48
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_32 Depth=1
	leal	-7(%r12), %esi
	movq	%r14, %rdi
	callq	_pcf50633_irq_call_handler
	movl	-64(%rbp,%rbx,4), %eax
	testb	$2, %al
	je	LBB0_36
LBB0_35:                                ##   in Loop: Header=BB0_32 Depth=1
	leal	-6(%r12), %esi
	movq	%r14, %rdi
	callq	_pcf50633_irq_call_handler
	movl	-64(%rbp,%rbx,4), %eax
	testb	$4, %al
	je	LBB0_38
LBB0_37:                                ##   in Loop: Header=BB0_32 Depth=1
	leal	-5(%r12), %esi
	movq	%r14, %rdi
	callq	_pcf50633_irq_call_handler
	movl	-64(%rbp,%rbx,4), %eax
	testb	$8, %al
	je	LBB0_40
LBB0_39:                                ##   in Loop: Header=BB0_32 Depth=1
	leal	-4(%r12), %esi
	movq	%r14, %rdi
	callq	_pcf50633_irq_call_handler
	movl	-64(%rbp,%rbx,4), %eax
	testb	$16, %al
	je	LBB0_42
LBB0_41:                                ##   in Loop: Header=BB0_32 Depth=1
	leal	-3(%r12), %esi
	movq	%r14, %rdi
	callq	_pcf50633_irq_call_handler
	movl	-64(%rbp,%rbx,4), %eax
	testb	$32, %al
	je	LBB0_44
LBB0_43:                                ##   in Loop: Header=BB0_32 Depth=1
	leal	-2(%r12), %esi
	movq	%r14, %rdi
	callq	_pcf50633_irq_call_handler
	movl	-64(%rbp,%rbx,4), %eax
	testb	$64, %al
	je	LBB0_46
LBB0_45:                                ##   in Loop: Header=BB0_32 Depth=1
	leal	-1(%r12), %esi
	movq	%r14, %rdi
	callq	_pcf50633_irq_call_handler
	movl	-64(%rbp,%rbx,4), %eax
	testb	$-128, %al
	je	LBB0_48
LBB0_47:                                ##   in Loop: Header=BB0_32 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_pcf50633_irq_call_handler
	jmp	LBB0_48
LBB0_49:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_51
## %bb.50:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_51:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PCF50633_REG_INT1,4,2          ## @PCF50633_REG_INT1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error reading INT registers\n"

	.comm	_PCF50633_REG_OOCSHDWN,4,2      ## @PCF50633_REG_OOCSHDWN
	.comm	_PCF50633_INT1_USBINS,4,2       ## @PCF50633_INT1_USBINS
	.comm	_PCF50633_INT1_USBREM,4,2       ## @PCF50633_INT1_USBREM
	.comm	_PCF50633_REG_MBCS2,4,2         ## @PCF50633_REG_MBCS2
	.comm	_PCF50633_INT1_ADPINS,4,2       ## @PCF50633_INT1_ADPINS
	.comm	_PCF50633_INT1_ADPREM,4,2       ## @PCF50633_INT1_ADPREM
L_.str.1:                               ## @.str.1
	.asciz	"INT1=0x%02x INT2=0x%02x INT3=0x%02x INT4=0x%02x INT5=0x%02x\n"

	.comm	_PCF50633_INT1_SECOND,4,2       ## @PCF50633_INT1_SECOND
L_.str.2:                               ## @.str.2
	.asciz	"ONKEY1S held for %d secs\n"

	.comm	_PCF50633_ONKEY1S_TIMEOUT,8,3   ## @PCF50633_ONKEY1S_TIMEOUT
	.comm	_PCF50633_INT3_ONKEY1S,4,2      ## @PCF50633_INT3_ONKEY1S
L_.str.3:                               ## @.str.3
	.asciz	"ONKEY1S held\n"

	.comm	_PCF50633_REG_INT1M,4,2         ## @PCF50633_REG_INT1M
	.comm	_PCF50633_REG_INT2M,4,2         ## @PCF50633_REG_INT2M
	.comm	_PCF50633_INT2_ONKEYR,4,2       ## @PCF50633_INT2_ONKEYR
	.comm	_PCF50633_INT2_ONKEYF,4,2       ## @PCF50633_INT2_ONKEYF
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_pcf50633_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcf50633_irq
_pcf50633_irq:                          ; @pcf50633_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _PCF50633_REG_INT1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCF50633_REG_INT1@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	add	x0, sp, #20
	bl	_ARRAY_SIZE
	mov	x2, x0
	add	x3, sp, #20
	mov	x0, x19
	mov	x1, x20
	bl	_pcf50633_read_block
	mov	x20, x0
	add	x0, sp, #20
	bl	_ARRAY_SIZE
	cmp	w20, w0
	b.ne	LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _PCF50633_REG_OOCSHDWN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCF50633_REG_OOCSHDWN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4
	bl	_pcf50633_reg_write
	ldr	w2, [sp, #20]
Lloh9:
	adrp	x21, _PCF50633_INT1_USBINS@GOTPAGE
Lloh10:
	ldr	x21, [x21, _PCF50633_INT1_USBINS@GOTPAGEOFF]
Lloh11:
	adrp	x22, _PCF50633_INT1_USBREM@GOTPAGE
Lloh12:
	ldr	x22, [x22, _PCF50633_INT1_USBREM@GOTPAGEOFF]
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w8, w9, w8
Lloh13:
	adrp	x20, _PCF50633_REG_MBCS2@GOTPAGE
Lloh14:
	ldr	x20, [x20, _PCF50633_REG_MBCS2@GOTPAGEOFF]
	tst	w8, w2
	b.eq	LBB0_7
; %bb.2:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_pcf50633_reg_read
	tst	w0, #0x30
	b.eq	LBB0_5
; %bb.3:
	ldr	w8, [x22]
	b	LBB0_6
LBB0_4:
	ldr	w0, [x19, #40]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_49
LBB0_5:
	ldr	w8, [x21]
LBB0_6:
	ldr	w9, [sp, #20]
	bic	w2, w9, w8
	str	w2, [sp, #20]
LBB0_7:
Lloh17:
	adrp	x21, _PCF50633_INT1_ADPINS@GOTPAGE
Lloh18:
	ldr	x21, [x21, _PCF50633_INT1_ADPINS@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh19:
	adrp	x22, _PCF50633_INT1_ADPREM@GOTPAGE
Lloh20:
	ldr	x22, [x22, _PCF50633_INT1_ADPREM@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w8, w9, w8
	tst	w8, w2
	b.eq	LBB0_12
; %bb.8:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_pcf50633_reg_read
	tst	w0, #0x30
	b.eq	LBB0_10
; %bb.9:
	ldr	w8, [x22]
	b	LBB0_11
LBB0_10:
	ldr	w8, [x21]
LBB0_11:
	ldr	w9, [sp, #20]
	bic	w2, w9, w8
	str	w2, [sp, #20]
LBB0_12:
	ldr	w0, [x19, #40]
	ldp	w3, w4, [sp, #24]
	ldp	w5, w6, [sp, #32]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	ldr	w8, [sp, #20]
Lloh23:
	adrp	x21, _PCF50633_INT1_SECOND@GOTPAGE
Lloh24:
	ldr	x21, [x21, _PCF50633_INT1_SECOND@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.13:
	ldr	w8, [x19]
	cbz	w8, LBB0_17
; %bb.14:
	ldr	w0, [x19, #40]
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_info
	ldrsw	x8, [x19]
	add	w9, w8, #1
	str	w9, [x19]
Lloh27:
	adrp	x9, _PCF50633_ONKEY1S_TIMEOUT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _PCF50633_ONKEY1S_TIMEOUT@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.15:
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_17
; %bb.16:
	mov	x0, x19
	blr	x8
LBB0_17:
	ldr	w8, [sp, #28]
Lloh30:
	adrp	x9, _PCF50633_INT3_ONKEY1S@GOTPAGE
Lloh31:
	ldr	x9, [x9, _PCF50633_INT3_ONKEY1S@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
Lloh33:
	adrp	x20, _PCF50633_INT2_ONKEYR@GOTPAGE
Lloh34:
	ldr	x20, [x20, _PCF50633_INT2_ONKEYR@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.18:
	ldr	w0, [x19, #40]
Lloh35:
	adrp	x1, l_.str.3@PAGE
Lloh36:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_info
	mov	w8, #1
	str	w8, [x19]
Lloh37:
	adrp	x8, _PCF50633_REG_INT1M@GOTPAGE
Lloh38:
	ldr	x8, [x8, _PCF50633_REG_INT1M@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_pcf50633_reg_clear_bits
Lloh40:
	adrp	x8, _PCF50633_REG_INT2M@GOTPAGE
Lloh41:
	ldr	x8, [x8, _PCF50633_REG_INT2M@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_pcf50633_reg_clear_bits
LBB0_19:
	ldr	w8, [sp, #24]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.20:
	ldr	w8, [x19]
	cbz	w8, LBB0_25
; %bb.21:
	str	wzr, [x19]
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	ldr	w2, [x21]
	tst	w2, w9
	b.eq	LBB0_23
; %bb.22:
Lloh43:
	adrp	x8, _PCF50633_REG_INT1M@GOTPAGE
Lloh44:
	ldr	x8, [x8, _PCF50633_REG_INT1M@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x3, x2
	bl	_pcf50633_reg_set_bit_mask
	ldr	x8, [x19, #8]
LBB0_23:
	ldr	w8, [x8, #4]
	ldr	w2, [x20]
	tst	w2, w8
	b.eq	LBB0_25
; %bb.24:
Lloh46:
	adrp	x8, _PCF50633_REG_INT2M@GOTPAGE
Lloh47:
	ldr	x8, [x8, _PCF50633_REG_INT2M@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x3, x2
	bl	_pcf50633_reg_set_bit_mask
LBB0_25:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_30
; %bb.26:
	str	xzr, [x19, #32]
	add	x21, sp, #20
	add	x0, sp, #20
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_29
; %bb.27:
	mov	x22, #0
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	lsl	x8, x22, #2
	ldr	w9, [x21, x8]
	ldp	x11, x10, [x19, #16]
	ldr	x10, [x10]
	ldr	w10, [x10, x8]
	and	w9, w10, w9
	str	w9, [x11, x8]
	add	x22, x22, #1
	add	x0, sp, #20
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.lt	LBB0_28
LBB0_29:
Lloh49:
	adrp	x8, _PCF50633_INT2_ONKEYF@GOTPAGE
Lloh50:
	ldr	x8, [x8, _PCF50633_INT2_ONKEYF@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh51:
	ldr	w8, [x8]
	orr	w8, w8, w9
	ldr	w9, [sp, #24]
	bic	w8, w9, w8
	str	w8, [sp, #24]
LBB0_30:
	add	x21, sp, #20
	add	x0, sp, #20
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_49
; %bb.31:
	mov	x22, #0
	mov	w20, #7
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=1
	add	x22, x22, #1
	add	x0, sp, #20
	bl	_ARRAY_SIZE
	add	w20, w20, #8
	cmp	x22, w0, sxtw
	b.ge	LBB0_49
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	lsl	x9, x22, #2
	ldr	w8, [x8, x9]
	ldr	w10, [x21, x9]
	bic	w8, w10, w8
	str	w8, [x21, x9]
	tbnz	w8, #0, LBB0_41
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	tbnz	w8, #1, LBB0_42
LBB0_35:                                ;   in Loop: Header=BB0_33 Depth=1
	tbnz	w8, #2, LBB0_43
LBB0_36:                                ;   in Loop: Header=BB0_33 Depth=1
	tbnz	w8, #3, LBB0_44
LBB0_37:                                ;   in Loop: Header=BB0_33 Depth=1
	tbnz	w8, #4, LBB0_45
LBB0_38:                                ;   in Loop: Header=BB0_33 Depth=1
	tbnz	w8, #5, LBB0_46
LBB0_39:                                ;   in Loop: Header=BB0_33 Depth=1
	tbnz	w8, #6, LBB0_47
LBB0_40:                                ;   in Loop: Header=BB0_33 Depth=1
	tbz	w8, #7, LBB0_32
	b	LBB0_48
LBB0_41:                                ;   in Loop: Header=BB0_33 Depth=1
	sub	w1, w20, #7
	mov	x0, x19
	bl	_pcf50633_irq_call_handler
	ldr	w8, [x21, x22, lsl #2]
	tbz	w8, #1, LBB0_35
LBB0_42:                                ;   in Loop: Header=BB0_33 Depth=1
	sub	w1, w20, #6
	mov	x0, x19
	bl	_pcf50633_irq_call_handler
	ldr	w8, [x21, x22, lsl #2]
	tbz	w8, #2, LBB0_36
LBB0_43:                                ;   in Loop: Header=BB0_33 Depth=1
	sub	w1, w20, #5
	mov	x0, x19
	bl	_pcf50633_irq_call_handler
	ldr	w8, [x21, x22, lsl #2]
	tbz	w8, #3, LBB0_37
LBB0_44:                                ;   in Loop: Header=BB0_33 Depth=1
	sub	w1, w20, #4
	mov	x0, x19
	bl	_pcf50633_irq_call_handler
	ldr	w8, [x21, x22, lsl #2]
	tbz	w8, #4, LBB0_38
LBB0_45:                                ;   in Loop: Header=BB0_33 Depth=1
	sub	w1, w20, #3
	mov	x0, x19
	bl	_pcf50633_irq_call_handler
	ldr	w8, [x21, x22, lsl #2]
	tbz	w8, #5, LBB0_39
LBB0_46:                                ;   in Loop: Header=BB0_33 Depth=1
	sub	w1, w20, #2
	mov	x0, x19
	bl	_pcf50633_irq_call_handler
	ldr	w8, [x21, x22, lsl #2]
	tbz	w8, #6, LBB0_40
LBB0_47:                                ;   in Loop: Header=BB0_33 Depth=1
	sub	w1, w20, #1
	mov	x0, x19
	bl	_pcf50633_irq_call_handler
	ldr	w8, [x21, x22, lsl #2]
	tbz	w8, #7, LBB0_32
LBB0_48:                                ;   in Loop: Header=BB0_33 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_pcf50633_irq_call_handler
	b	LBB0_32
LBB0_49:
Lloh52:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh53:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	ldr	x8, [sp, #40]
Lloh55:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh56:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_51
; %bb.50:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_51:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_PCF50633_REG_INT1,4,2          ; @PCF50633_REG_INT1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error reading INT registers\n"

	.comm	_PCF50633_REG_OOCSHDWN,4,2      ; @PCF50633_REG_OOCSHDWN
	.comm	_PCF50633_INT1_USBINS,4,2       ; @PCF50633_INT1_USBINS
	.comm	_PCF50633_INT1_USBREM,4,2       ; @PCF50633_INT1_USBREM
	.comm	_PCF50633_REG_MBCS2,4,2         ; @PCF50633_REG_MBCS2
	.comm	_PCF50633_INT1_ADPINS,4,2       ; @PCF50633_INT1_ADPINS
	.comm	_PCF50633_INT1_ADPREM,4,2       ; @PCF50633_INT1_ADPREM
l_.str.1:                               ; @.str.1
	.asciz	"INT1=0x%02x INT2=0x%02x INT3=0x%02x INT4=0x%02x INT5=0x%02x\n"

	.comm	_PCF50633_INT1_SECOND,4,2       ; @PCF50633_INT1_SECOND
l_.str.2:                               ; @.str.2
	.asciz	"ONKEY1S held for %d secs\n"

	.comm	_PCF50633_ONKEY1S_TIMEOUT,8,3   ; @PCF50633_ONKEY1S_TIMEOUT
	.comm	_PCF50633_INT3_ONKEY1S,4,2      ; @PCF50633_INT3_ONKEY1S
l_.str.3:                               ; @.str.3
	.asciz	"ONKEY1S held\n"

	.comm	_PCF50633_REG_INT1M,4,2         ; @PCF50633_REG_INT1M
	.comm	_PCF50633_REG_INT2M,4,2         ; @PCF50633_REG_INT2M
	.comm	_PCF50633_INT2_ONKEYR,4,2       ; @PCF50633_INT2_ONKEYR
	.comm	_PCF50633_INT2_ONKEYF,4,2       ; @PCF50633_INT2_ONKEYF
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_pcf50633_irq
.subsections_via_symbols
