	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fxas21002c_trigger_probe
_fxas21002c_trigger_probe:              ## @fxas21002c_trigger_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, %rbx
	movl	24(%rdi), %edi
	callq	_regmap_get_device
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_dev_get_drvdata
	cmpl	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	8(%rax), %r12
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_of_irq_get_byname
	cmpl	(%rbx), %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	movq	16(%rbx), %rax
	movq	_F_INT_CFG_DRDY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	$1, %esi
	callq	_regmap_field_write
	testl	%eax, %eax
	js	LBB0_12
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_of_property_read_bool
	movl	%eax, %r12d
	movl	(%r15), %ecx
	movl	4(%r15), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_iio_trigger_alloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	(%rbx), %edi
	callq	_irq_get_irq_data
	movl	%eax, %edi
	callq	_irqd_get_trigger_type
	movq	%rax, %r13
	movq	_IRQF_TRIGGER_RISING@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_8
## %bb.7:
	movq	16(%rbx), %rax
	movq	_F_IPOL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	$1, %esi
	callq	_regmap_field_write
	testl	%eax, %eax
	js	LBB0_12
LBB0_8:
	testl	%r12d, %r12d
	je	LBB0_9
## %bb.10:
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	jmp	LBB0_11
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
LBB0_9:
	xorl	%r8d, %r8d
LBB0_11:
	orq	%r13, %r8
	movl	(%rbx), %esi
	movq	_fxas21002c_data_rdy_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_fxas21002c_data_rdy_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, (%rsp)
	leaq	L_.str.5(%rip), %r9
	movq	%r14, %rdi
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_12
## %bb.13:
	movq	8(%rbx), %rdi
	movq	%r14, 8(%rdi)
	movq	_fxas21002c_trigger_ops@GOTPCREL(%rip), %rax
	movq	%rax, (%rdi)
	movq	%r15, %rsi
	callq	_iio_trigger_set_drvdata
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_iio_trigger_register      ## TAILCALL
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"INT1"

L_.str.1:                               ## @.str.1
	.asciz	"using interrupt line INT1\n"

	.comm	_F_INT_CFG_DRDY,8,3             ## @F_INT_CFG_DRDY
L_.str.2:                               ## @.str.2
	.asciz	"using interrupt line INT2\n"

L_.str.3:                               ## @.str.3
	.asciz	"drive-open-drain"

L_.str.4:                               ## @.str.4
	.asciz	"%s-dev%d"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IRQF_TRIGGER_RISING,8,3        ## @IRQF_TRIGGER_RISING
	.comm	_F_IPOL,8,3                     ## @F_IPOL
	.comm	_IRQF_SHARED,8,3                ## @IRQF_SHARED
	.comm	_fxas21002c_data_rdy_handler,4,2 ## @fxas21002c_data_rdy_handler
	.comm	_fxas21002c_data_rdy_thread,4,2 ## @fxas21002c_data_rdy_thread
L_.str.5:                               ## @.str.5
	.asciz	"fxas21002c_data_ready"

	.comm	_fxas21002c_trigger_ops,4,2     ## @fxas21002c_trigger_ops
	.no_dead_strip	_fxas21002c_trigger_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fxas21002c_trigger_probe
_fxas21002c_trigger_probe:              ; @fxas21002c_trigger_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	w0, [x0, #24]
	bl	_regmap_get_device
	mov	x20, x0
	bl	_dev_get_drvdata
	ldr	w8, [x19]
	cbz	w8, LBB0_8
; %bb.1:
	mov	x21, x0
	ldr	x22, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_of_irq_get_byname
	ldr	w8, [x19]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	ldr	x8, [x19, #16]
Lloh4:
	adrp	x9, _F_INT_CFG_DRDY@GOTPAGE
Lloh5:
	ldr	x9, [x9, _F_INT_CFG_DRDY@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	mov	w1, #1
	bl	_regmap_field_write
	tbnz	w0, #31, LBB0_10
LBB0_3:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_info
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_of_property_read_bool
	mov	x22, x0
	ldp	w3, w2, [x21]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_devm_iio_trigger_alloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_9
; %bb.4:
	ldr	w0, [x19]
	bl	_irq_get_irq_data
	bl	_irqd_get_trigger_type
	mov	x23, x0
Lloh13:
	adrp	x8, _IRQF_TRIGGER_RISING@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IRQF_TRIGGER_RISING@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x19, #16]
Lloh16:
	adrp	x9, _F_IPOL@GOTPAGE
Lloh17:
	ldr	x9, [x9, _F_IPOL@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	mov	w1, #1
	bl	_regmap_field_write
	tbnz	w0, #31, LBB0_10
LBB0_6:
Lloh19:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	w22, #0
	csel	x8, xzr, x8, eq
	orr	x4, x8, x23
	ldr	w1, [x19]
Lloh22:
	adrp	x8, _fxas21002c_data_rdy_handler@GOTPAGE
Lloh23:
	ldr	x8, [x8, _fxas21002c_data_rdy_handler@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
Lloh25:
	adrp	x8, _fxas21002c_data_rdy_thread@GOTPAGE
Lloh26:
	ldr	x8, [x8, _fxas21002c_data_rdy_thread@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
Lloh28:
	adrp	x5, l_.str.5@PAGE
Lloh29:
	add	x5, x5, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	x6, x21
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_10
; %bb.7:
	ldr	x0, [x19, #8]
Lloh30:
	adrp	x8, _fxas21002c_trigger_ops@GOTPAGE
Lloh31:
	ldr	x8, [x8, _fxas21002c_trigger_ops@GOTPAGEOFF]
	stp	x8, x20, [x0]
	mov	x1, x21
	bl	_iio_trigger_set_drvdata
	ldr	x1, [x19, #8]
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_devm_iio_trigger_register
LBB0_8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
Lloh32:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"INT1"

l_.str.1:                               ; @.str.1
	.asciz	"using interrupt line INT1\n"

	.comm	_F_INT_CFG_DRDY,8,3             ; @F_INT_CFG_DRDY
l_.str.2:                               ; @.str.2
	.asciz	"using interrupt line INT2\n"

l_.str.3:                               ; @.str.3
	.asciz	"drive-open-drain"

l_.str.4:                               ; @.str.4
	.asciz	"%s-dev%d"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IRQF_TRIGGER_RISING,8,3        ; @IRQF_TRIGGER_RISING
	.comm	_F_IPOL,8,3                     ; @F_IPOL
	.comm	_IRQF_SHARED,8,3                ; @IRQF_SHARED
	.comm	_fxas21002c_data_rdy_handler,4,2 ; @fxas21002c_data_rdy_handler
	.comm	_fxas21002c_data_rdy_thread,4,2 ; @fxas21002c_data_rdy_thread
l_.str.5:                               ; @.str.5
	.asciz	"fxas21002c_data_ready"

	.comm	_fxas21002c_trigger_ops,4,2     ; @fxas21002c_trigger_ops
	.no_dead_strip	_fxas21002c_trigger_probe
.subsections_via_symbols
