	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st_uvis25_probe                ## -- Begin function st_uvis25_probe
	.p2align	4, 0x90
_st_uvis25_probe:                       ## @st_uvis25_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	%rdx, %r12
	movl	%esi, %r13d
	movq	%rdi, %r14
	movl	$16, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_dev_set_drvdata
	movq	%rbx, %rdi
	callq	_iio_priv
	movq	%rax, %r15
	movl	%r13d, (%rax)
	movq	%r12, 8(%rax)
	movq	%rax, %rdi
	callq	_st_uvis25_check_whoami
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%r14, 24(%rbx)
	movq	_st_uvis25_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 16(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, 12(%rbx)
	movq	_ST_UVIS25_DEV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_st_uvis25_info@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	%r15, %rdi
	callq	_st_uvis25_init_sensor
	testl	%eax, %eax
	js	LBB0_7
## %bb.4:
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_st_uvis25_allocate_buffer
	testl	%eax, %eax
	js	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_st_uvis25_allocate_trigger
	testl	%eax, %eax
	jne	LBB0_7
LBB0_8:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %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), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_st_uvis25_channels,4,2         ## @st_uvis25_channels
	.comm	_ST_UVIS25_DEV_NAME,4,2         ## @ST_UVIS25_DEV_NAME
	.comm	_st_uvis25_info,4,2             ## @st_uvis25_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_st_uvis25_probe                ; -- Begin function st_uvis25_probe
	.p2align	2
_st_uvis25_probe:                       ; @st_uvis25_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, x2
	mov	x23, x1
	mov	x19, x0
	mov	w1, #16
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_dev_set_drvdata
	mov	x0, x20
	bl	_iio_priv
	mov	x21, x0
	str	w23, [x0]
	str	x22, [x0, #8]
	bl	_st_uvis25_check_whoami
	tbnz	w0, #31, LBB0_8
; %bb.2:
Lloh0:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #32]
	str	x19, [x20, #24]
Lloh3:
	adrp	x8, _st_uvis25_channels@GOTPAGE
Lloh4:
	ldr	x8, [x8, _st_uvis25_channels@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	str	w0, [x20, #16]
	bl	_ARRAY_SIZE
Lloh6:
	adrp	x8, _ST_UVIS25_DEV_NAME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ST_UVIS25_DEV_NAME@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	w8, w0, [x20, #8]
Lloh9:
	adrp	x8, _st_uvis25_info@GOTPAGE
Lloh10:
	ldr	x8, [x8, _st_uvis25_info@GOTPAGEOFF]
	str	x8, [x20]
	mov	x0, x21
	bl	_st_uvis25_init_sensor
	tbnz	w0, #31, LBB0_8
; %bb.3:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_st_uvis25_allocate_buffer
	tbnz	w0, #31, LBB0_8
; %bb.5:
	mov	x0, x20
	bl	_st_uvis25_allocate_trigger
	cbnz	w0, LBB0_8
LBB0_6:
	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_7:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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 AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_st_uvis25_channels,4,2         ; @st_uvis25_channels
	.comm	_ST_UVIS25_DEV_NAME,4,2         ; @ST_UVIS25_DEV_NAME
	.comm	_st_uvis25_info,4,2             ; @st_uvis25_info
.subsections_via_symbols
