	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ltr501_probe
_ltr501_probe:                          ## @ltr501_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	$0, -44(%rbp)
	leaq	8(%rdi), %r12
	movq	%r12, %rdi
	movl	$88, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r15
	movq	_ltr501_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regmap_init_i2c
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r13, %rdi
	jmp	LBB0_20
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_iio_priv
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, 80(%rbx)
	movq	%r13, 8(%rbx)
	leaq	76(%rbx), %rdi
	callq	_mutex_init
	leaq	72(%rbx), %rdi
	callq	_mutex_init
	movq	_reg_field_it@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_devm_regmap_field_alloc
	movq	%rax, 64(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	64(%rbx), %rdi
	jmp	LBB0_20
LBB0_8:
	movq	_reg_field_als_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_devm_regmap_field_alloc
	movq	%rax, 56(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	56(%rbx), %rdi
	jmp	LBB0_20
LBB0_10:
	movq	_reg_field_ps_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_devm_regmap_field_alloc
	movq	%rax, 48(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	48(%rbx), %rdi
	jmp	LBB0_20
LBB0_12:
	movq	_reg_field_als_rate@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_devm_regmap_field_alloc
	movq	%rax, 40(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	40(%rbx), %rdi
	jmp	LBB0_20
LBB0_14:
	movq	_reg_field_ps_rate@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_devm_regmap_field_alloc
	movq	%rax, 32(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	32(%rbx), %rdi
	jmp	LBB0_20
LBB0_16:
	movq	_reg_field_als_prst@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_devm_regmap_field_alloc
	movq	%rax, 24(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	24(%rbx), %rdi
	jmp	LBB0_20
LBB0_18:
	movq	_reg_field_ps_prst@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_devm_regmap_field_alloc
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	16(%rbx), %rdi
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_21:
	movq	%rbx, %r13
	movq	8(%rbx), %rdi
	movq	_LTR501_PART_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_24
## %bb.22:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_25
## %bb.23:
	movq	(%rcx), %rax
	movl	8(%rcx), %edx
	movl	%edx, -44(%rbp)
	jmp	LBB0_27
LBB0_25:
	movq	%r12, %rdi
	callq	_ACPI_HANDLE
	testq	%rax, %rax
	je	LBB0_32
## %bb.26:
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	callq	_ltr501_match_acpi_device
	movl	-44(%rbp), %edx
LBB0_27:
	movq	%r13, %rdi
	movq	_ltr501_chip_info_tbl@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%edx, %rdx
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rcx,%rdx,4), %rsi
	movq	%rsi, (%r13)
	movl	-48(%rbp), %esi
	sarl	$4, %esi
	cmpl	(%rcx,%rdx,4), %esi
	jne	LBB0_32
## %bb.28:
	movq	%r12, 24(%r15)
	movl	16(%rcx,%rdx,4), %esi
	movl	%esi, 8(%r15)
	movl	12(%rcx,%rdx,4), %esi
	movl	%esi, 20(%r15)
	movl	8(%rcx,%rdx,4), %ecx
	movl	%ecx, 16(%r15)
	movq	%rax, (%r15)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	callq	_ltr501_init
	testl	%eax, %eax
	js	LBB0_24
## %bb.29:
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	jle	LBB0_34
## %bb.30:
	movq	_ltr501_interrupt_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rax), %r8d
	movq	%r15, (%rsp)
	leaq	L_.str.8(%rip), %r9
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_35
## %bb.31:
	movl	%eax, %ebx
	movq	(%r14), %rdx
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_5
LBB0_24:
	movl	%eax, %ebx
	jmp	LBB0_5
LBB0_32:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_34:
	movq	(%r13), %rax
	movl	4(%rax), %eax
	movl	%eax, 8(%r15)
LBB0_35:
	movq	_ltr501_trigger_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_iio_triggered_buffer_setup
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_38
## %bb.36:
	movq	%r15, %rdi
	callq	_iio_device_register
	testl	%eax, %eax
	je	LBB0_5
## %bb.37:
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_iio_triggered_buffer_cleanup
LBB0_38:
	movq	%r13, %rdi
	callq	_ltr501_powerdown
	movl	%r14d, %ebx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ltr501_regmap_config,4,2       ## @ltr501_regmap_config
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Regmap initialization failed.\n"

	.comm	_reg_field_it,4,2               ## @reg_field_it
L_.str.1:                               ## @.str.1
	.asciz	"Integ time reg field init failed.\n"

	.comm	_reg_field_als_intr,4,2         ## @reg_field_als_intr
L_.str.2:                               ## @.str.2
	.asciz	"ALS intr mode reg field init failed\n"

	.comm	_reg_field_ps_intr,4,2          ## @reg_field_ps_intr
L_.str.3:                               ## @.str.3
	.asciz	"PS intr mode reg field init failed.\n"

	.comm	_reg_field_als_rate,4,2         ## @reg_field_als_rate
L_.str.4:                               ## @.str.4
	.asciz	"ALS samp rate field init failed.\n"

	.comm	_reg_field_ps_rate,4,2          ## @reg_field_ps_rate
L_.str.5:                               ## @.str.5
	.asciz	"PS samp rate field init failed.\n"

	.comm	_reg_field_als_prst,4,2         ## @reg_field_als_prst
L_.str.6:                               ## @.str.6
	.asciz	"ALS prst reg field init failed\n"

	.comm	_reg_field_ps_prst,4,2          ## @reg_field_ps_prst
L_.str.7:                               ## @.str.7
	.asciz	"PS prst reg field init failed.\n"

	.comm	_LTR501_PART_ID,4,2             ## @LTR501_PART_ID
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ltr501_chip_info_tbl,8,3       ## @ltr501_chip_info_tbl
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_ltr501_interrupt_handler,4,2   ## @ltr501_interrupt_handler
	.comm	_IRQF_TRIGGER_FALLING,4,2       ## @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.8:                               ## @.str.8
	.asciz	"ltr501_thresh_event"

L_.str.9:                               ## @.str.9
	.asciz	"request irq (%d) failed\n"

	.comm	_ltr501_trigger_handler,4,2     ## @ltr501_trigger_handler
	.no_dead_strip	_ltr501_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ltr501_probe
_ltr501_probe:                          ; @ltr501_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x23, x1
	mov	x22, x0
	str	wzr, [sp, #8]
	add	x20, x0, #8
	mov	x0, x20
	mov	w1, #88
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x1, _ltr501_regmap_config@GOTPAGE
Lloh1:
	ldr	x1, [x1, _ltr501_regmap_config@GOTPAGEOFF]
	mov	x0, x22
	bl	_devm_regmap_init_i2c
	mov	x24, x0
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.2:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	mov	x0, x24
	b	LBB0_20
LBB0_3:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_5:
	mov	x0, x24
	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
	add	sp, sp, #80
	ret
LBB0_6:
	mov	x0, x21
	bl	_iio_priv
	mov	x19, x0
	mov	x0, x22
	mov	x1, x21
	bl	_i2c_set_clientdata
	str	x22, [x19, #80]
	str	x24, [x19, #8]
	add	x0, x19, #76
	bl	_mutex_init
	add	x0, x19, #72
	bl	_mutex_init
Lloh6:
	adrp	x8, _reg_field_it@GOTPAGE
Lloh7:
	ldr	x8, [x8, _reg_field_it@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x24
	bl	_devm_regmap_field_alloc
	str	x0, [x19, #64]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.7:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #64]
	b	LBB0_20
LBB0_8:
Lloh11:
	adrp	x8, _reg_field_als_intr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _reg_field_als_intr@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x24
	bl	_devm_regmap_field_alloc
	str	x0, [x19, #56]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.9:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #56]
	b	LBB0_20
LBB0_10:
Lloh16:
	adrp	x8, _reg_field_ps_intr@GOTPAGE
Lloh17:
	ldr	x8, [x8, _reg_field_ps_intr@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x24
	bl	_devm_regmap_field_alloc
	str	x0, [x19, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.11:
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #48]
	b	LBB0_20
LBB0_12:
Lloh21:
	adrp	x8, _reg_field_als_rate@GOTPAGE
Lloh22:
	ldr	x8, [x8, _reg_field_als_rate@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x24
	bl	_devm_regmap_field_alloc
	str	x0, [x19, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.13:
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #40]
	b	LBB0_20
LBB0_14:
Lloh26:
	adrp	x8, _reg_field_ps_rate@GOTPAGE
Lloh27:
	ldr	x8, [x8, _reg_field_ps_rate@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x24
	bl	_devm_regmap_field_alloc
	str	x0, [x19, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_16
; %bb.15:
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #32]
	b	LBB0_20
LBB0_16:
Lloh31:
	adrp	x8, _reg_field_als_prst@GOTPAGE
Lloh32:
	ldr	x8, [x8, _reg_field_als_prst@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x24
	bl	_devm_regmap_field_alloc
	str	x0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_18
; %bb.17:
Lloh34:
	adrp	x1, l_.str.6@PAGE
Lloh35:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #24]
	b	LBB0_20
LBB0_18:
Lloh36:
	adrp	x8, _reg_field_ps_prst@GOTPAGE
Lloh37:
	ldr	x8, [x8, _reg_field_ps_prst@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x24
	bl	_devm_regmap_field_alloc
	str	x0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_21
; %bb.19:
Lloh39:
	adrp	x1, l_.str.7@PAGE
Lloh40:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #16]
LBB0_20:
	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
	add	sp, sp, #80
	b	_PTR_ERR
LBB0_21:
	ldr	x0, [x19, #8]
Lloh41:
	adrp	x8, _LTR501_PART_ID@GOTPAGE
Lloh42:
	ldr	x8, [x8, _LTR501_PART_ID@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	tbnz	w0, #31, LBB0_31
; %bb.22:
	cbz	x23, LBB0_24
; %bb.23:
	ldr	x0, [x23]
	ldr	w8, [x23, #8]
	str	w8, [sp, #8]
	b	LBB0_26
LBB0_24:
	mov	x0, x20
	bl	_ACPI_HANDLE
	cbz	x0, LBB0_32
; %bb.25:
	add	x1, sp, #8
	mov	x0, x20
	bl	_ltr501_match_acpi_device
	ldr	w8, [sp, #8]
LBB0_26:
Lloh44:
	adrp	x9, _ltr501_chip_info_tbl@GOTPAGE
Lloh45:
	ldr	x9, [x9, _ltr501_chip_info_tbl@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	mov	w10, #20
	smaddl	x10, w8, w10, x9
	str	x10, [x19]
	ldr	w11, [sp, #12]
	ldr	w10, [x10]
	cmp	w10, w11, asr #4
	b.ne	LBB0_32
; %bb.27:
	sxtw	x8, w8
	str	x20, [x21, #24]
	mov	w10, #20
	madd	x8, x8, x10, x9
	ldr	w9, [x8, #16]
	str	w9, [x21, #8]
	ldr	d0, [x8, #8]
	str	d0, [x21, #16]
	str	x0, [x21]
Lloh47:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	str	w8, [x21, #12]
	mov	x0, x19
	bl	_ltr501_init
	tbnz	w0, #31, LBB0_31
; %bb.28:
	ldr	x1, [x22]
	cmp	x1, #1
	b.lt	LBB0_33
; %bb.29:
Lloh50:
	adrp	x8, _ltr501_interrupt_handler@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ltr501_interrupt_handler@GOTPAGEOFF]
Lloh52:
	adrp	x9, _IRQF_TRIGGER_FALLING@GOTPAGE
Lloh53:
	ldr	x9, [x9, _IRQF_TRIGGER_FALLING@GOTPAGEOFF]
Lloh54:
	ldr	w3, [x8]
Lloh55:
	ldr	w8, [x9]
Lloh56:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh57:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	orr	w4, w9, w8
Lloh59:
	adrp	x5, l_.str.8@PAGE
Lloh60:
	add	x5, x5, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x2, #0
	mov	x6, x21
	bl	_devm_request_threaded_irq
	cbz	w0, LBB0_34
; %bb.30:
	mov	x24, x0
	ldr	x8, [x22]
	str	x8, [sp]
Lloh61:
	adrp	x1, l_.str.9@PAGE
Lloh62:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_5
LBB0_31:
	mov	x24, x0
	b	LBB0_5
LBB0_32:
Lloh63:
	adrp	x8, _ENODEV@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_4
LBB0_33:
	ldr	x8, [x19]
	ldr	w8, [x8, #4]
	str	w8, [x21, #8]
LBB0_34:
Lloh65:
	adrp	x8, _ltr501_trigger_handler@GOTPAGE
Lloh66:
	ldr	x8, [x8, _ltr501_trigger_handler@GOTPAGEOFF]
Lloh67:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, #0
	mov	x3, #0
	bl	_iio_triggered_buffer_setup
	mov	x24, x0
	cbnz	w0, LBB0_37
; %bb.35:
	mov	x0, x21
	bl	_iio_device_register
	mov	x24, x0
	cbz	w0, LBB0_5
; %bb.36:
	mov	x0, x21
	bl	_iio_triggered_buffer_cleanup
LBB0_37:
	mov	x0, x19
	bl	_ltr501_powerdown
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh54
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ltr501_regmap_config,4,2       ; @ltr501_regmap_config
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Regmap initialization failed.\n"

	.comm	_reg_field_it,4,2               ; @reg_field_it
l_.str.1:                               ; @.str.1
	.asciz	"Integ time reg field init failed.\n"

	.comm	_reg_field_als_intr,4,2         ; @reg_field_als_intr
l_.str.2:                               ; @.str.2
	.asciz	"ALS intr mode reg field init failed\n"

	.comm	_reg_field_ps_intr,4,2          ; @reg_field_ps_intr
l_.str.3:                               ; @.str.3
	.asciz	"PS intr mode reg field init failed.\n"

	.comm	_reg_field_als_rate,4,2         ; @reg_field_als_rate
l_.str.4:                               ; @.str.4
	.asciz	"ALS samp rate field init failed.\n"

	.comm	_reg_field_ps_rate,4,2          ; @reg_field_ps_rate
l_.str.5:                               ; @.str.5
	.asciz	"PS samp rate field init failed.\n"

	.comm	_reg_field_als_prst,4,2         ; @reg_field_als_prst
l_.str.6:                               ; @.str.6
	.asciz	"ALS prst reg field init failed\n"

	.comm	_reg_field_ps_prst,4,2          ; @reg_field_ps_prst
l_.str.7:                               ; @.str.7
	.asciz	"PS prst reg field init failed.\n"

	.comm	_LTR501_PART_ID,4,2             ; @LTR501_PART_ID
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ltr501_chip_info_tbl,8,3       ; @ltr501_chip_info_tbl
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_ltr501_interrupt_handler,4,2   ; @ltr501_interrupt_handler
	.comm	_IRQF_TRIGGER_FALLING,4,2       ; @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.8:                               ; @.str.8
	.asciz	"ltr501_thresh_event"

l_.str.9:                               ; @.str.9
	.asciz	"request irq (%d) failed\n"

	.comm	_ltr501_trigger_handler,4,2     ; @ltr501_trigger_handler
	.no_dead_strip	_ltr501_probe
.subsections_via_symbols
