	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adxl372_probe                  ## -- Begin function adxl372_probe
	.p2align	4, 0x90
_adxl372_probe:                         ## @adxl372_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	%rcx, %rbx
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	$32, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%r15d, %ebx
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_dev_set_drvdata
	movq	%r14, 24(%r15)
	movq	%r13, 16(%r15)
	movl	%ebx, (%r15)
	movq	_adxl372_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 48(%r12)
	callq	_ARRAY_SIZE
	movl	%eax, 44(%r12)
	movq	_adxl372_channel_masks@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r12)
	movq	%r14, 32(%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r12)
	movq	_adxl372_info@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r12)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movq	_INDIO_BUFFER_SOFTWARE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 8(%r12)
	movq	%r15, %rdi
	callq	_adxl372_setup
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_adxl372_trigger_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_adxl372_buffer_ops@GOTPCREL(%rip), %r8
	movq	%r14, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_devm_iio_triggered_buffer_setup
	testl	%eax, %eax
	js	LBB0_9
## %bb.5:
	movl	20(%r12), %edi
	movq	_adxl372_fifo_attributes@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_iio_buffer_set_attrs
	cmpl	$0, (%r15)
	je	LBB0_11
## %bb.6:
	movq	(%r12), %rdx
	movl	16(%r12), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_iio_trigger_alloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	movq	_adxl372_trigger_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 8(%rax)
	movq	%r14, (%rax)
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_iio_trigger_set_drvdata
	movq	8(%r15), %rsi
	movq	%r14, %rdi
	callq	_devm_iio_trigger_register
	testl	%eax, %eax
	js	LBB0_9
## %bb.8:
	movq	8(%r15), %rdi
	callq	_iio_trigger_get
	movl	%eax, 12(%r12)
	movl	(%r15), %esi
	movq	_iio_trigger_generic_data_rdy_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IRQF_TRIGGER_RISING@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	orl	(%rax), %r8d
	movq	(%r12), %r9
	movq	8(%r15), %rax
	movq	%rax, (%rsp)
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_9
LBB0_11:
	movq	%r14, %rdi
	movq	%r12, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_iio_device_register       ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_3:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_10
LBB0_9:
	movl	%eax, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_adxl372_channels,4,2           ## @adxl372_channels
	.comm	_adxl372_channel_masks,4,2      ## @adxl372_channel_masks
	.comm	_adxl372_info,4,2               ## @adxl372_info
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_INDIO_BUFFER_SOFTWARE,4,2      ## @INDIO_BUFFER_SOFTWARE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ADXL372 setup failed\n"

	.comm	_adxl372_trigger_handler,4,2    ## @adxl372_trigger_handler
	.comm	_adxl372_buffer_ops,4,2         ## @adxl372_buffer_ops
	.comm	_adxl372_fifo_attributes,4,2    ## @adxl372_fifo_attributes
L_.str.1:                               ## @.str.1
	.asciz	"%s-dev%d"

	.comm	_adxl372_trigger_ops,4,2        ## @adxl372_trigger_ops
	.comm	_iio_trigger_generic_data_rdy_poll,4,2 ## @iio_trigger_generic_data_rdy_poll
	.comm	_IRQF_TRIGGER_RISING,4,2        ## @IRQF_TRIGGER_RISING
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adxl372_probe                  ; -- Begin function adxl372_probe
	.p2align	2
_adxl372_probe:                         ; @adxl372_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	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	mov	w1, #32
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	bl	_iio_priv
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	_dev_set_drvdata
	stp	x24, x19, [x21, #16]
	str	w23, [x21]
Lloh0:
	adrp	x8, _adxl372_channels@GOTPAGE
Lloh1:
	ldr	x8, [x8, _adxl372_channels@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	str	w0, [x20, #48]
	bl	_ARRAY_SIZE
Lloh3:
	adrp	x8, _adxl372_channel_masks@GOTPAGE
Lloh4:
	ldr	x8, [x8, _adxl372_channel_masks@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w8, w0, [x20, #40]
	str	x22, [x20]
Lloh6:
	adrp	x8, _adxl372_info@GOTPAGE
Lloh7:
	ldr	x8, [x8, _adxl372_info@GOTPAGEOFF]
	stp	x8, x19, [x20, #24]
Lloh8:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _INDIO_BUFFER_SOFTWARE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _INDIO_BUFFER_SOFTWARE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20, #8]
	mov	x0, x21
	bl	_adxl372_setup
	tbnz	w0, #31, LBB0_9
; %bb.2:
Lloh14:
	adrp	x8, _adxl372_trigger_handler@GOTPAGE
Lloh15:
	ldr	x8, [x8, _adxl372_trigger_handler@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
Lloh17:
	adrp	x4, _adxl372_buffer_ops@GOTPAGE
Lloh18:
	ldr	x4, [x4, _adxl372_buffer_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_devm_iio_triggered_buffer_setup
	tbnz	w0, #31, LBB0_10
; %bb.3:
	ldr	w0, [x20, #20]
Lloh19:
	adrp	x8, _adxl372_fifo_attributes@GOTPAGE
Lloh20:
	ldr	x8, [x8, _adxl372_fifo_attributes@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_iio_buffer_set_attrs
	ldr	w8, [x21]
	cbz	w8, LBB0_7
; %bb.4:
	ldr	x2, [x20]
	ldr	w3, [x20, #16]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devm_iio_trigger_alloc
	str	x0, [x21, #8]
	cbz	x0, LBB0_8
; %bb.5:
Lloh24:
	adrp	x8, _adxl372_trigger_ops@GOTPAGE
Lloh25:
	ldr	x8, [x8, _adxl372_trigger_ops@GOTPAGEOFF]
	stp	x19, x8, [x0]
	mov	x1, x20
	bl	_iio_trigger_set_drvdata
	ldr	x1, [x21, #8]
	mov	x0, x19
	bl	_devm_iio_trigger_register
	tbnz	w0, #31, LBB0_10
; %bb.6:
	ldr	x0, [x21, #8]
	bl	_iio_trigger_get
	str	w0, [x20, #12]
	ldr	w1, [x21]
Lloh26:
	adrp	x8, _iio_trigger_generic_data_rdy_poll@GOTPAGE
Lloh27:
	ldr	x8, [x8, _iio_trigger_generic_data_rdy_poll@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x8, _IRQF_TRIGGER_RISING@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IRQF_TRIGGER_RISING@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w4, w9, w8
	ldr	x5, [x20]
	ldr	x6, [x21, #8]
	mov	x0, x19
	mov	x3, #0
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_10
LBB0_7:
	mov	x0, x19
	mov	x1, 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_device_register
LBB0_8:
Lloh35:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_11
LBB0_9:
	mov	x22, x0
Lloh38:
	adrp	x1, l_.str@PAGE
Lloh39:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_11
LBB0_10:
	mov	x22, x0
LBB0_11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_adxl372_channels,4,2           ; @adxl372_channels
	.comm	_adxl372_channel_masks,4,2      ; @adxl372_channel_masks
	.comm	_adxl372_info,4,2               ; @adxl372_info
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_INDIO_BUFFER_SOFTWARE,4,2      ; @INDIO_BUFFER_SOFTWARE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ADXL372 setup failed\n"

	.comm	_adxl372_trigger_handler,4,2    ; @adxl372_trigger_handler
	.comm	_adxl372_buffer_ops,4,2         ; @adxl372_buffer_ops
	.comm	_adxl372_fifo_attributes,4,2    ; @adxl372_fifo_attributes
l_.str.1:                               ; @.str.1
	.asciz	"%s-dev%d"

	.comm	_adxl372_trigger_ops,4,2        ; @adxl372_trigger_ops
	.comm	_iio_trigger_generic_data_rdy_poll,4,2 ; @iio_trigger_generic_data_rdy_poll
	.comm	_IRQF_TRIGGER_RISING,4,2        ; @IRQF_TRIGGER_RISING
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
.subsections_via_symbols
