	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm8323_probe
_lm8323_probe:                          ## @lm8323_probe
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	4(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_dev_get_platdata
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r13
	movl	(%rax), %edx
	testl	%edx, %edx
	je	LBB0_3
## %bb.2:
	movl	4(%r13), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	cmpl	$9, %edx
	jl	LBB0_8
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
LBB0_43:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_47
## %bb.44:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	cmpl	$13, %eax
	jl	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	movl	%eax, %edx
LBB0_6:
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_7
LBB0_10:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$64, %edi
	callq	_kzalloc
	movq	%rax, %r14
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_input_allocate_device
	movq	%rax, %rdi
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	testq	%r14, %r14
	je	LBB0_12
## %bb.11:
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.13:
	movq	%r12, %rax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, 56(%r12)
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, 48(%r12)
	movq	%r12, %rdi
	addq	$44, %rdi
	callq	_mutex_init
	movl	(%r13), %edx
	movl	%edx, (%r12)
	movl	4(%r13), %ecx
	movl	%ecx, 4(%r12)
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_dev_vdbg
	movl	44(%r13), %eax
	movl	%eax, 40(%r12)
	movl	40(%r13), %eax
	movl	%eax, 36(%r12)
	movq	%r12, %rdi
	callq	_lm8323_reset
	movq	_jiffies@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r15
	movl	$100, %edi
	callq	_msecs_to_jiffies
	movq	%rax, %r14
	movq	_LM8323_CMD_READ_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	movq	%r12, %rdi
	movl	$1, %ecx
	callq	_lm8323_read
	cmpl	$1, %eax
	jne	LBB0_19
## %bb.14:
	addq	%r15, %r14
	movq	_INT_NOINIT@GOTPCREL(%rip), %r12
	leaq	-56(%rbp), %r15
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %eax
	testl	%eax, -56(%rbp)
	jne	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	(%rbx), %rdi
	movq	%r14, %rsi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	$1, %edi
	callq	_msleep
	movq	_LM8323_CMD_READ_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	_lm8323_read
	cmpl	$1, %eax
	je	LBB0_15
	jmp	LBB0_19
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_42
LBB0_17:
	leaq	L_.str.4(%rip), %rsi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
LBB0_19:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_lm8323_configure
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_lm8323_read_id
	testq	%rax, %rax
	je	LBB0_20
## %bb.45:
	leaq	L_.str.5(%rip), %rsi
	xorl	%r15d, %r15d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_42
LBB0_20:
	movl	$1, %eax
	movq	$-16, %rcx
	movq	_LM8323_NUM_PWMS@GOTPCREL(%rip), %rbx
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r14
	movq	%rcx, %r12
	decq	%rax
	movslq	(%rbx), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	32(%r13), %rax
	movl	-4(%rax,%r14,4), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_init_pwm
	movl	%eax, %r15d
	leaq	1(%r14), %rax
	leaq	16(%r12), %rcx
	testl	%r15d, %r15d
	jns	LBB0_21
## %bb.23:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_36
LBB0_24:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$1, 8(%rax)
	movq	_dev_attr_disable_kp@GOTPCREL(%rip), %rsi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_device_create_file
	testl	%eax, %eax
	js	LBB0_25
## %bb.26:
	movq	24(%r13), %rax
	testq	%rax, %rax
	leaq	L_.str.6(%rip), %rcx
	cmovneq	%rax, %rcx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	32(%r15), %ecx
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movq	%rax, %rbx
	callq	_dev_name
	leaq	L_.str.7(%rip), %rdx
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	movl	$4, %esi
	movq	%rax, %rcx
	callq	_snprintf
	movl	32(%r15), %eax
	movl	%eax, 32(%rbx)
	movq	_EV_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r15d
	movq	_EV_MSC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%r15d, %eax
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	_MSC_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %rsi
	callq	___set_bit
	movq	_LM8323_KEYMAP_SIZE@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rbx)
	jle	LBB0_29
## %bb.27:
	movq	16(%r13), %rax
	xorl	%r15d, %r15d
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%r15,4), %edi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rsi
	callq	___set_bit
	movq	16(%r13), %rax
	movl	(%rax,%r15,4), %ecx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	24(%rdx), %rdx
	movl	%ecx, (%rdx,%r15,4)
	incq	%r15
	movslq	(%rbx), %rcx
	cmpq	%rcx, %r15
	jl	LBB0_28
LBB0_29:
	movq	_KEY_RESERVED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rsi
	callq	___clear_bit
	cmpq	$0, 8(%r13)
	je	LBB0_31
## %bb.30:
	movq	_EV_REP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rsi
	callq	___set_bit
LBB0_31:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_input_register_device
	testl	%eax, %eax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_33
## %bb.32:
	movl	%eax, %r15d
	leaq	L_.str.8(%rip), %rsi
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_dev_dbg
	jmp	LBB0_35
LBB0_25:
	movl	%eax, %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_36
LBB0_33:
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %edi
	movq	_lm8323_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_TRIGGER_LOW@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	L_.str.9(%rip), %r8
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movq	%rbx, %r9
	callq	_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_46
## %bb.34:
	movl	%eax, %ebx
	movl	(%r13), %edx
	leaq	L_.str.10(%rip), %rsi
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_input_unregister_device
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%ebx, %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_35:
	movq	_dev_attr_disable_kp@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	callq	_device_remove_file
LBB0_36:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	cmpl	$1, %r14d
	je	LBB0_42
## %bb.37:
	movq	%rdi, %r13
	jmp	LBB0_38
LBB0_40:                                ##   in Loop: Header=BB0_38 Depth=1
	decq	%r14
	addq	$-16, %r12
	cmpq	$1, %r14
	jbe	LBB0_41
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rdi
	cmpq	$0, 8(%rdi,%r12)
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=1
	addq	%r12, %rdi
	callq	_led_classdev_unregister
	jmp	LBB0_40
LBB0_41:
	movq	%r13, %rdi
LBB0_42:
	callq	_input_free_device
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_43
LBB0_46:
	movq	%rbx, %rsi
	movq	%r13, %rdi
	callq	_i2c_set_clientdata
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	callq	_device_init_wakeup
	movl	(%r13), %edi
	callq	_enable_irq_wake
	jmp	LBB0_43
LBB0_47:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missing platform_data\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"invalid x size %d specified\n"

L_.str.2:                               ## @.str.2
	.asciz	"invalid y size %d specified\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"Keypad size: %d x %d\n"

	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_LM8323_CMD_READ_INT,4,2        ## @LM8323_CMD_READ_INT
	.comm	_INT_NOINIT,4,2                 ## @INT_NOINIT
L_.str.4:                               ## @.str.4
	.asciz	"timeout waiting for initialisation\n"

L_.str.5:                               ## @.str.5
	.asciz	"device not found\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_LM8323_NUM_PWMS,4,2            ## @LM8323_NUM_PWMS
	.comm	_dev_attr_disable_kp,4,2        ## @dev_attr_disable_kp
L_.str.6:                               ## @.str.6
	.asciz	"LM8323 keypad"

L_.str.7:                               ## @.str.7
	.asciz	"%s/input-kp"

	.comm	_EV_KEY,4,2                     ## @EV_KEY
	.comm	_EV_MSC,4,2                     ## @EV_MSC
	.comm	_MSC_SCAN,4,2                   ## @MSC_SCAN
	.comm	_LM8323_KEYMAP_SIZE,4,2         ## @LM8323_KEYMAP_SIZE
	.comm	_KEY_RESERVED,4,2               ## @KEY_RESERVED
	.comm	_EV_REP,4,2                     ## @EV_REP
L_.str.8:                               ## @.str.8
	.asciz	"error registering input device\n"

	.comm	_lm8323_irq,4,2                 ## @lm8323_irq
	.comm	_IRQF_TRIGGER_LOW,4,2           ## @IRQF_TRIGGER_LOW
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.9:                               ## @.str.9
	.asciz	"lm8323"

L_.str.10:                              ## @.str.10
	.asciz	"could not get IRQ %d\n"

	.no_dead_strip	_lm8323_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm8323_probe
_lm8323_probe:                          ; @lm8323_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	add	x21, x0, #4
	mov	x0, x21
	bl	_dev_get_platdata
	cbz	x0, LBB0_5
; %bb.1:
	mov	x23, x0
	ldr	w9, [x0]
	cbz	w9, LBB0_5
; %bb.2:
	ldr	w8, [x23, #4]
	cbz	w8, LBB0_5
; %bb.3:
	cmp	w9, #9
	b.lt	LBB0_9
; %bb.4:
	str	x9, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
LBB0_6:
	mov	x0, x21
	bl	_dev_err
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_7:
	ldr	x8, [sp, #24]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_44
; %bb.8:
	mov	x0, x24
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_9:
	cmp	w8, #13
	b.lt	LBB0_11
; %bb.10:
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_11:
Lloh15:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w0, #64
	bl	_kzalloc
	mov	x19, x0
	bl	_input_allocate_device
	mov	x20, x0
	cmp	x19, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_13
; %bb.12:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_21
LBB0_13:
	stp	x20, x22, [x19, #48]
	add	x0, x19, #44
	bl	_mutex_init
	ldr	w2, [x23]
	str	w2, [x19]
	ldr	w3, [x23, #4]
	str	w3, [x19, #4]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_dev_vdbg
	ldr	d0, [x23, #40]
	stur	d0, [x19, #36]
	mov	x0, x19
	bl	_lm8323_reset
Lloh22:
	adrp	x25, _jiffies@GOTPAGE
Lloh23:
	ldr	x25, [x25, _jiffies@GOTPAGEOFF]
	ldr	x27, [x25]
	mov	w0, #100
	bl	_msecs_to_jiffies
	mov	x24, x0
Lloh24:
	adrp	x26, _LM8323_CMD_READ_INT@GOTPAGE
Lloh25:
	ldr	x26, [x26, _LM8323_CMD_READ_INT@GOTPAGEOFF]
	ldr	w1, [x26]
	add	x2, sp, #16
	mov	x0, x19
	mov	w3, #1
	bl	_lm8323_read
	cmp	w0, #1
	b.ne	LBB0_19
; %bb.14:
	add	x24, x24, x27
Lloh26:
	adrp	x27, _INT_NOINIT@GOTPAGE
Lloh27:
	ldr	x27, [x27, _INT_NOINIT@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #16]
	ldr	w9, [x27]
	tst	w9, w8
	b.ne	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	x0, [x25]
	mov	x1, x24
	bl	_time_after
	cbnz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x26]
	add	x2, sp, #16
	mov	x0, x19
	mov	w3, #1
	bl	_lm8323_read
	cmp	w0, #1
	b.eq	LBB0_15
	b	LBB0_19
LBB0_18:
Lloh28:
	adrp	x1, l_.str.4@PAGE
Lloh29:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_dev_err
LBB0_19:
	mov	x0, x19
	bl	_lm8323_configure
	add	x1, sp, #16
	mov	x0, x19
	bl	_lm8323_read_id
	cbz	x0, LBB0_23
; %bb.20:
Lloh30:
	adrp	x1, l_.str.5@PAGE
Lloh31:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh32:
	adrp	x8, _ENODEV@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_21:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_22:
	mov	x0, x20
	bl	_input_free_device
	mov	x0, x19
	bl	_kfree
	b	LBB0_7
LBB0_23:
	mov	x25, #0
	mov	x8, #-8
Lloh34:
	adrp	x28, _LM8323_NUM_PWMS@GOTPAGE
Lloh35:
	ldr	x28, [x28, _LM8323_NUM_PWMS@GOTPAGEOFF]
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	mov	x27, x25
	mov	x26, x8
	ldrsw	x8, [x28]
	cmp	x25, x8
	b.ge	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	add	x25, x27, #1
	ldr	x8, [x23, #32]
	ldr	w3, [x8, x27, lsl #2]
	mov	x0, x19
	mov	x1, x25
	mov	x2, x21
	bl	_init_pwm
	add	x8, x26, #16
	tbz	w0, #31, LBB0_24
	b	LBB0_34
LBB0_26:
	mov	w8, #1
	str	w8, [x19, #8]
Lloh36:
	adrp	x1, _dev_attr_disable_kp@GOTPAGE
Lloh37:
	ldr	x1, [x1, _dev_attr_disable_kp@GOTPAGEOFF]
	mov	x0, x21
	bl	_device_create_file
	tbnz	w0, #31, LBB0_34
; %bb.27:
	ldr	x8, [x23, #24]
Lloh38:
	adrp	x9, l_.str.6@PAGE
Lloh39:
	add	x9, x9, l_.str.6@PAGEOFF
	cmp	x8, #0
	csel	x8, x9, x8, eq
	str	x8, [x20]
	ldr	w24, [x19, #32]
	mov	x0, x21
	bl	_dev_name
	mov	x3, x0
Lloh40:
	adrp	x2, l_.str.7@PAGE
Lloh41:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x24
	mov	w1, #4
	bl	_snprintf
	ldr	w8, [x19, #32]
	str	w8, [x20, #32]
Lloh42:
	adrp	x8, _EV_KEY@GOTPAGE
Lloh43:
	ldr	x8, [x8, _EV_KEY@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	bl	_BIT
	mov	x24, x0
Lloh45:
	adrp	x8, _EV_MSC@GOTPAGE
Lloh46:
	ldr	x8, [x8, _EV_MSC@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	bl	_BIT
	orr	w8, w0, w24
	ldr	x9, [x20, #8]
	str	w8, [x9]
Lloh48:
	adrp	x8, _MSC_SCAN@GOTPAGE
Lloh49:
	ldr	x8, [x8, _MSC_SCAN@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	ldr	x1, [x20, #16]
	bl	___set_bit
Lloh51:
	adrp	x24, _LM8323_KEYMAP_SIZE@GOTPAGE
Lloh52:
	ldr	x24, [x24, _LM8323_KEYMAP_SIZE@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_30
; %bb.28:
	mov	x25, #0
	ldr	x8, [x23, #16]
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	lsl	x28, x25, #2
	ldr	w0, [x8, x28]
	ldr	x1, [x20, #24]
	bl	___set_bit
	ldr	x8, [x23, #16]
	ldr	w9, [x8, x28]
	ldr	x10, [x19, #24]
	str	w9, [x10, x28]
	add	x25, x25, #1
	ldrsw	x9, [x24]
	cmp	x25, x9
	b.lt	LBB0_29
LBB0_30:
Lloh53:
	adrp	x8, _KEY_RESERVED@GOTPAGE
Lloh54:
	ldr	x8, [x8, _KEY_RESERVED@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	ldr	x1, [x20, #24]
	bl	___clear_bit
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_32
; %bb.31:
Lloh56:
	adrp	x8, _EV_REP@GOTPAGE
Lloh57:
	ldr	x8, [x8, _EV_REP@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
	ldr	x1, [x20, #8]
	bl	___set_bit
LBB0_32:
	mov	x0, x20
	bl	_input_register_device
	cbz	w0, LBB0_35
; %bb.33:
	mov	x24, x0
Lloh59:
	adrp	x1, l_.str.8@PAGE
Lloh60:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
	b	LBB0_37
LBB0_34:
	mov	x24, x0
	b	LBB0_38
LBB0_35:
	ldr	w0, [x22]
Lloh61:
	adrp	x8, _lm8323_irq@GOTPAGE
Lloh62:
	ldr	x8, [x8, _lm8323_irq@GOTPAGEOFF]
Lloh63:
	adrp	x9, _IRQF_TRIGGER_LOW@GOTPAGE
Lloh64:
	ldr	x9, [x9, _IRQF_TRIGGER_LOW@GOTPAGEOFF]
Lloh65:
	ldr	w2, [x8]
Lloh66:
	ldr	w8, [x9]
Lloh67:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh68:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	orr	w3, w9, w8
Lloh70:
	adrp	x4, l_.str.9@PAGE
Lloh71:
	add	x4, x4, l_.str.9@PAGEOFF
	mov	x1, #0
	mov	x5, x19
	bl	_request_threaded_irq
	mov	x24, x0
	cbz	w0, LBB0_43
; %bb.36:
	ldr	w8, [x22]
	str	x8, [sp]
Lloh72:
	adrp	x1, l_.str.10@PAGE
Lloh73:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	mov	x0, x20
	bl	_input_unregister_device
	mov	x20, #0
LBB0_37:
Lloh74:
	adrp	x1, _dev_attr_disable_kp@GOTPAGE
Lloh75:
	ldr	x1, [x1, _dev_attr_disable_kp@GOTPAGEOFF]
	mov	x0, x21
	bl	_device_remove_file
LBB0_38:
	cbz	w27, LBB0_22
; %bb.39:
	add	x21, x27, #1
	b	LBB0_41
LBB0_40:                                ;   in Loop: Header=BB0_41 Depth=1
	sub	x21, x21, #1
	sub	x26, x26, #16
	cmp	x21, #1
	b.ls	LBB0_22
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x9, [x8, x26]
	cbz	x9, LBB0_40
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=1
	add	x8, x8, x26
	sub	x0, x8, #8
	bl	_led_classdev_unregister
	b	LBB0_40
LBB0_43:
	mov	x0, x22
	mov	x1, x19
	bl	_i2c_set_clientdata
	mov	x0, x21
	mov	w1, #1
	bl	_device_init_wakeup
	ldr	w0, [x22]
	bl	_enable_irq_wake
	b	LBB0_7
LBB0_44:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh65
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missing platform_data\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"invalid x size %d specified\n"

l_.str.2:                               ; @.str.2
	.asciz	"invalid y size %d specified\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"Keypad size: %d x %d\n"

	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_LM8323_CMD_READ_INT,4,2        ; @LM8323_CMD_READ_INT
	.comm	_INT_NOINIT,4,2                 ; @INT_NOINIT
l_.str.4:                               ; @.str.4
	.asciz	"timeout waiting for initialisation\n"

l_.str.5:                               ; @.str.5
	.asciz	"device not found\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_LM8323_NUM_PWMS,4,2            ; @LM8323_NUM_PWMS
	.comm	_dev_attr_disable_kp,4,2        ; @dev_attr_disable_kp
l_.str.6:                               ; @.str.6
	.asciz	"LM8323 keypad"

l_.str.7:                               ; @.str.7
	.asciz	"%s/input-kp"

	.comm	_EV_KEY,4,2                     ; @EV_KEY
	.comm	_EV_MSC,4,2                     ; @EV_MSC
	.comm	_MSC_SCAN,4,2                   ; @MSC_SCAN
	.comm	_LM8323_KEYMAP_SIZE,4,2         ; @LM8323_KEYMAP_SIZE
	.comm	_KEY_RESERVED,4,2               ; @KEY_RESERVED
	.comm	_EV_REP,4,2                     ; @EV_REP
l_.str.8:                               ; @.str.8
	.asciz	"error registering input device\n"

	.comm	_lm8323_irq,4,2                 ; @lm8323_irq
	.comm	_IRQF_TRIGGER_LOW,4,2           ; @IRQF_TRIGGER_LOW
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.9:                               ; @.str.9
	.asciz	"lm8323"

l_.str.10:                              ; @.str.10
	.asciz	"could not get IRQ %d\n"

	.no_dead_strip	_lm8323_probe
.subsections_via_symbols
