	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpr0521_probe
_rpr0521_probe:                         ## @rpr0521_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	$32, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	_rpr0521_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_regmap_init_i2c
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.22:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_21
LBB0_3:
	movq	%r13, %rdi
	callq	_iio_priv
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_i2c_set_clientdata
	movq	%r15, 24(%r14)
	movq	%rbx, 16(%r14)
	leaq	8(%r14), %rdi
	callq	_mutex_init
	movq	%r15, (%r13)
	movq	_rpr0521_info@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r13)
	movq	_RPR0521_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r13)
	movq	_rpr0521_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 28(%r13)
	callq	_ARRAY_SIZE
	movl	%eax, 24(%r13)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r13)
	movq	%r14, %rdi
	callq	_rpr0521_init
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	callq	_pm_runtime_set_active
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	callq	_pm_runtime_enable
	movq	_RPR0521_SLEEP_DELAY_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_pm_runtime_set_autosuspend_delay
	movq	%r15, %rdi
	callq	_pm_runtime_use_autosuspend
	cmpq	$0, 8(%r15)
	je	LBB0_19
## %bb.8:
	movq	(%r13), %rdi
	movl	16(%r13), %edx
	movl	12(%r13), %ecx
	leaq	L_.str.2(%rip), %rsi
	callq	_devm_iio_trigger_alloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	(%r13), %rcx
	movq	%rcx, 8(%rax)
	movq	_rpr0521_trigger_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
	movq	_rpr0521_available_scan_masks@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r13)
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_iio_trigger_set_drvdata
	movq	8(%r15), %rsi
	movq	_rpr0521_drdy_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_rpr0521_drdy_irq_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r8d
	orl	(%rax), %r8d
	movq	_RPR0521_IRQ_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, (%rsp)
	movq	%r15, %rdi
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_11
## %bb.14:
	movq	(%r13), %rdi
	movq	(%r14), %rsi
	callq	_devm_iio_trigger_register
	testl	%eax, %eax
	je	LBB0_17
## %bb.15:
	movl	%eax, %r12d
	leaq	L_.str.4(%rip), %rsi
LBB0_16:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_12
LBB0_4:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_21
LBB0_6:
	movl	%eax, %r12d
	jmp	LBB0_13
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_12
LBB0_11:
	movl	%eax, %r12d
	movq	8(%r15), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_12
LBB0_17:
	movq	(%r13), %rdi
	movq	_rpr0521_trigger_consumer_store_time@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_rpr0521_trigger_consumer_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_rpr0521_buffer_setup_ops@GOTPCREL(%rip), %r8
	movq	%r13, %rsi
	callq	_devm_iio_triggered_buffer_setup
	testl	%eax, %eax
	js	LBB0_18
LBB0_19:
	movq	%r13, %rdi
	callq	_iio_device_register
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_20
LBB0_12:
	movq	%r15, %rdi
	callq	_pm_runtime_disable
	movq	%r15, %rdi
	callq	_pm_runtime_set_suspended
	movq	%r15, %rdi
	callq	_pm_runtime_put_noidle
LBB0_13:
	movq	%r14, %rdi
	callq	_rpr0521_poweroff
LBB0_21:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	xorl	%r12d, %r12d
	jmp	LBB0_21
LBB0_18:
	movl	%eax, %r12d
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_rpr0521_regmap_config,4,2      ## @rpr0521_regmap_config
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"regmap_init failed!\n"

	.comm	_rpr0521_info,4,2               ## @rpr0521_info
	.comm	_RPR0521_DRV_NAME,4,2           ## @RPR0521_DRV_NAME
	.comm	_rpr0521_channels,4,2           ## @rpr0521_channels
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
L_.str.1:                               ## @.str.1
	.asciz	"rpr0521 chip init failed\n"

	.comm	_RPR0521_SLEEP_DELAY_MS,4,2     ## @RPR0521_SLEEP_DELAY_MS
L_.str.2:                               ## @.str.2
	.asciz	"%s-dev%d"

	.comm	_rpr0521_trigger_ops,4,2        ## @rpr0521_trigger_ops
	.comm	_rpr0521_available_scan_masks,4,2 ## @rpr0521_available_scan_masks
	.comm	_rpr0521_drdy_irq_handler,4,2   ## @rpr0521_drdy_irq_handler
	.comm	_rpr0521_drdy_irq_thread,4,2    ## @rpr0521_drdy_irq_thread
	.comm	_IRQF_TRIGGER_FALLING,4,2       ## @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.comm	_RPR0521_IRQ_NAME,4,2           ## @RPR0521_IRQ_NAME
L_.str.3:                               ## @.str.3
	.asciz	"request irq %d for trigger0 failed\n"

L_.str.4:                               ## @.str.4
	.asciz	"iio trigger register failed\n"

	.comm	_rpr0521_trigger_consumer_store_time,4,2 ## @rpr0521_trigger_consumer_store_time
	.comm	_rpr0521_trigger_consumer_handler,4,2 ## @rpr0521_trigger_consumer_handler
	.comm	_rpr0521_buffer_setup_ops,4,2   ## @rpr0521_buffer_setup_ops
L_.str.5:                               ## @.str.5
	.asciz	"iio triggered buffer setup failed\n"

	.no_dead_strip	_rpr0521_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpr0521_probe
_rpr0521_probe:                         ; @rpr0521_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	mov	w1, #32
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x1, _rpr0521_regmap_config@GOTPAGE
Lloh1:
	ldr	x1, [x1, _rpr0521_regmap_config@GOTPAGEOFF]
	mov	x0, x19
	bl	_devm_regmap_init_i2c
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_PTR_ERR
LBB0_3:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_21
LBB0_4:
	mov	x0, x21
	bl	_iio_priv
	mov	x20, x0
	mov	x0, x19
	mov	x1, x21
	bl	_i2c_set_clientdata
	stp	x22, x19, [x20, #16]
	add	x0, x20, #8
	bl	_mutex_init
	str	x19, [x21]
Lloh7:
	adrp	x8, _rpr0521_info@GOTPAGE
Lloh8:
	ldr	x8, [x8, _rpr0521_info@GOTPAGEOFF]
	str	x8, [x21, #32]
Lloh9:
	adrp	x8, _RPR0521_DRV_NAME@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RPR0521_DRV_NAME@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x21, #16]
Lloh12:
	adrp	x8, _rpr0521_channels@GOTPAGE
Lloh13:
	ldr	x8, [x8, _rpr0521_channels@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	str	w0, [x21, #28]
	bl	_ARRAY_SIZE
Lloh15:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	stp	w8, w0, [x21, #20]
	mov	x0, x20
	bl	_rpr0521_init
	tbnz	w0, #31, LBB0_11
; %bb.5:
	mov	x0, x19
	bl	_pm_runtime_set_active
	tbnz	w0, #31, LBB0_12
; %bb.6:
	mov	x0, x19
	bl	_pm_runtime_enable
Lloh18:
	adrp	x8, _RPR0521_SLEEP_DELAY_MS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RPR0521_SLEEP_DELAY_MS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_pm_runtime_set_autosuspend_delay
	mov	x0, x19
	bl	_pm_runtime_use_autosuspend
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_16
; %bb.7:
	ldr	x0, [x21]
	ldp	w3, w2, [x21, #12]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_devm_iio_trigger_alloc
	str	x0, [x20]
	cbz	x0, LBB0_13
; %bb.8:
	ldr	x8, [x21]
Lloh23:
	adrp	x9, _rpr0521_trigger_ops@GOTPAGE
Lloh24:
	ldr	x9, [x9, _rpr0521_trigger_ops@GOTPAGEOFF]
	stp	x9, x8, [x0]
Lloh25:
	adrp	x8, _rpr0521_available_scan_masks@GOTPAGE
Lloh26:
	ldr	x8, [x8, _rpr0521_available_scan_masks@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [x21, #8]
	mov	x1, x21
	bl	_iio_trigger_set_drvdata
	ldr	x1, [x19, #8]
Lloh28:
	adrp	x8, _rpr0521_drdy_irq_handler@GOTPAGE
Lloh29:
	ldr	x8, [x8, _rpr0521_drdy_irq_handler@GOTPAGEOFF]
Lloh30:
	adrp	x9, _rpr0521_drdy_irq_thread@GOTPAGE
Lloh31:
	ldr	x9, [x9, _rpr0521_drdy_irq_thread@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
Lloh33:
	ldr	w3, [x9]
Lloh34:
	adrp	x8, _IRQF_TRIGGER_FALLING@GOTPAGE
Lloh35:
	ldr	x8, [x8, _IRQF_TRIGGER_FALLING@GOTPAGEOFF]
Lloh36:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	ldr	w9, [x9]
	orr	w4, w9, w8
Lloh40:
	adrp	x8, _RPR0521_IRQ_NAME@GOTPAGE
Lloh41:
	ldr	x8, [x8, _RPR0521_IRQ_NAME@GOTPAGEOFF]
Lloh42:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x6, x21
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_14
; %bb.9:
	ldr	x0, [x21]
	ldr	x1, [x20]
	bl	_devm_iio_trigger_register
	cbz	w0, LBB0_15
; %bb.10:
	mov	x22, x0
Lloh43:
	adrp	x1, l_.str.4@PAGE
Lloh44:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_18
LBB0_11:
	mov	x22, x0
Lloh45:
	adrp	x1, l_.str.1@PAGE
Lloh46:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_21
LBB0_12:
	mov	x22, x0
	b	LBB0_20
LBB0_13:
Lloh47:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_19
LBB0_14:
	mov	x22, x0
	ldr	x8, [x19, #8]
	str	x8, [sp]
Lloh50:
	adrp	x1, l_.str.3@PAGE
Lloh51:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_18
LBB0_15:
	ldr	x0, [x21]
Lloh52:
	adrp	x8, _rpr0521_trigger_consumer_store_time@GOTPAGE
Lloh53:
	ldr	x8, [x8, _rpr0521_trigger_consumer_store_time@GOTPAGEOFF]
Lloh54:
	ldr	w2, [x8]
Lloh55:
	adrp	x8, _rpr0521_trigger_consumer_handler@GOTPAGE
Lloh56:
	ldr	x8, [x8, _rpr0521_trigger_consumer_handler@GOTPAGEOFF]
Lloh57:
	ldr	w3, [x8]
Lloh58:
	adrp	x4, _rpr0521_buffer_setup_ops@GOTPAGE
Lloh59:
	ldr	x4, [x4, _rpr0521_buffer_setup_ops@GOTPAGEOFF]
	mov	x1, x21
	bl	_devm_iio_triggered_buffer_setup
	tbnz	w0, #31, LBB0_17
LBB0_16:
	mov	x0, x21
	bl	_iio_device_register
	mov	x22, x0
	cbnz	w0, LBB0_19
	b	LBB0_21
LBB0_17:
	mov	x22, x0
Lloh60:
	adrp	x1, l_.str.5@PAGE
Lloh61:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_18:
	mov	x0, x19
	bl	_dev_err
LBB0_19:
	mov	x0, x19
	bl	_pm_runtime_disable
	mov	x0, x19
	bl	_pm_runtime_set_suspended
	mov	x0, x19
	bl	_pm_runtime_put_noidle
LBB0_20:
	mov	x0, x20
	bl	_rpr0521_poweroff
LBB0_21:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh38
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh32
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_rpr0521_regmap_config,4,2      ; @rpr0521_regmap_config
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"regmap_init failed!\n"

	.comm	_rpr0521_info,4,2               ; @rpr0521_info
	.comm	_RPR0521_DRV_NAME,4,2           ; @RPR0521_DRV_NAME
	.comm	_rpr0521_channels,4,2           ; @rpr0521_channels
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
l_.str.1:                               ; @.str.1
	.asciz	"rpr0521 chip init failed\n"

	.comm	_RPR0521_SLEEP_DELAY_MS,4,2     ; @RPR0521_SLEEP_DELAY_MS
l_.str.2:                               ; @.str.2
	.asciz	"%s-dev%d"

	.comm	_rpr0521_trigger_ops,4,2        ; @rpr0521_trigger_ops
	.comm	_rpr0521_available_scan_masks,4,2 ; @rpr0521_available_scan_masks
	.comm	_rpr0521_drdy_irq_handler,4,2   ; @rpr0521_drdy_irq_handler
	.comm	_rpr0521_drdy_irq_thread,4,2    ; @rpr0521_drdy_irq_thread
	.comm	_IRQF_TRIGGER_FALLING,4,2       ; @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.comm	_RPR0521_IRQ_NAME,4,2           ; @RPR0521_IRQ_NAME
l_.str.3:                               ; @.str.3
	.asciz	"request irq %d for trigger0 failed\n"

l_.str.4:                               ; @.str.4
	.asciz	"iio trigger register failed\n"

	.comm	_rpr0521_trigger_consumer_store_time,4,2 ; @rpr0521_trigger_consumer_store_time
	.comm	_rpr0521_trigger_consumer_handler,4,2 ; @rpr0521_trigger_consumer_handler
	.comm	_rpr0521_buffer_setup_ops,4,2   ; @rpr0521_buffer_setup_ops
l_.str.5:                               ; @.str.5
	.asciz	"iio triggered buffer setup failed\n"

	.no_dead_strip	_rpr0521_probe
.subsections_via_symbols
