	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dps310_probe
_dps310_probe:                          ## @dps310_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	%rsi, %rbx
	movq	%rdi, %r14
	movl	$16, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r15
	movq	%r14, 8(%rax)
	leaq	4(%rax), %rdi
	callq	_mutex_init
	movq	%r14, 32(%r12)
	movl	(%rbx), %eax
	movl	%eax, 24(%r12)
	movq	_dps310_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 20(%r12)
	callq	_ARRAY_SIZE
	movl	%eax, 16(%r12)
	movq	_dps310_info@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r12)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movq	_dps310_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regmap_init_i2c
	movl	%eax, (%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.14:
	movl	(%r15), %edi
	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), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_13
LBB0_3:
	movq	_dps310_reset@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_devm_add_action_or_reset
	testl	%eax, %eax
	je	LBB0_4
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%r15), %edi
	movq	_DPS310_PRS_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_regmap_write
	movl	(%r15), %edi
	movq	_DPS310_TMP_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DPS310_TMP_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_regmap_write
	testl	%eax, %eax
	js	LBB0_13
## %bb.5:
	movl	(%r15), %edi
	movq	_DPS310_CFG_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DPS310_PRS_SHIFT_EN@GOTPCREL(%rip), %rax
	movq	_DPS310_TMP_SHIFT_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_regmap_write_bits
	testl	%eax, %eax
	js	LBB0_13
## %bb.6:
	movl	(%r15), %edi
	movq	_DPS310_MEAS_CFG@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_DPS310_MEAS_CTRL_BITS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	xorl	%ecx, %ecx
	callq	_regmap_write_bits
	testl	%eax, %eax
	js	LBB0_13
## %bb.7:
	movl	(%r15), %edi
	movl	(%r13), %esi
	movq	_DPS310_PRS_EN@GOTPCREL(%rip), %rax
	movq	_DPS310_TEMP_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	(%rbx), %edx
	movq	_DPS310_BACKGROUND@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	callq	_regmap_write_bits
	testl	%eax, %eax
	js	LBB0_13
## %bb.8:
	movl	(%r15), %edi
	movl	(%r13), %esi
	xorl	%ecx, %ecx
	movl	$10000, %r8d                    ## imm = 0x2710
	movl	$40000, %r9d                    ## imm = 0x9C40
	callq	_regmap_read_poll_timeout
	testl	%eax, %eax
	js	LBB0_13
## %bb.9:
	movq	%r15, %rdi
	callq	_dps310_get_coefs
	testl	%eax, %eax
	js	LBB0_13
## %bb.10:
	movq	%r15, %rdi
	callq	_dps310_temp_workaround
	testl	%eax, %eax
	js	LBB0_13
## %bb.11:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_devm_iio_device_register
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_i2c_set_clientdata
	xorl	%eax, %eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_dps310_channels,4,2            ## @dps310_channels
	.comm	_dps310_info,4,2                ## @dps310_info
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_dps310_regmap_config,4,2       ## @dps310_regmap_config
	.comm	_dps310_reset,4,2               ## @dps310_reset
	.comm	_DPS310_PRS_CFG,4,2             ## @DPS310_PRS_CFG
	.comm	_DPS310_TMP_CFG,4,2             ## @DPS310_TMP_CFG
	.comm	_DPS310_TMP_EXT,4,2             ## @DPS310_TMP_EXT
	.comm	_DPS310_CFG_REG,4,2             ## @DPS310_CFG_REG
	.comm	_DPS310_PRS_SHIFT_EN,4,2        ## @DPS310_PRS_SHIFT_EN
	.comm	_DPS310_TMP_SHIFT_EN,4,2        ## @DPS310_TMP_SHIFT_EN
	.comm	_DPS310_MEAS_CFG,4,2            ## @DPS310_MEAS_CFG
	.comm	_DPS310_MEAS_CTRL_BITS,4,2      ## @DPS310_MEAS_CTRL_BITS
	.comm	_DPS310_PRS_EN,4,2              ## @DPS310_PRS_EN
	.comm	_DPS310_TEMP_EN,4,2             ## @DPS310_TEMP_EN
	.comm	_DPS310_BACKGROUND,4,2          ## @DPS310_BACKGROUND
	.comm	_DPS310_COEF_RDY,4,2            ## @DPS310_COEF_RDY
	.no_dead_strip	_dps310_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dps310_probe
_dps310_probe:                          ; @dps310_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, x1
	mov	x19, x0
	mov	w1, #16
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	bl	_iio_priv
	mov	x21, x0
	str	x19, [x0, #8]
	add	x0, x0, #4
	bl	_mutex_init
	str	x19, [x20, #32]
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _dps310_channels@GOTPAGE
Lloh1:
	ldr	x9, [x9, _dps310_channels@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	stp	w0, w8, [x20, #20]
	bl	_ARRAY_SIZE
Lloh3:
	adrp	x8, _dps310_info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dps310_info@GOTPAGEOFF]
	str	w0, [x20, #16]
	str	x8, [x20, #8]
Lloh5:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh8:
	adrp	x1, _dps310_regmap_config@GOTPAGE
Lloh9:
	ldr	x1, [x1, _dps310_regmap_config@GOTPAGEOFF]
	mov	x0, x19
	bl	_devm_regmap_init_i2c
	str	w0, [x21]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x21]
	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	_PTR_ERR
LBB0_3:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
Lloh13:
	adrp	x8, _dps310_reset@GOTPAGE
Lloh14:
	ldr	x8, [x8, _dps310_reset@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_devm_add_action_or_reset
	cbz	w0, LBB0_6
LBB0_5:
	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
LBB0_6:
	ldr	w0, [x21]
Lloh16:
	adrp	x8, _DPS310_PRS_CFG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DPS310_PRS_CFG@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_regmap_write
	ldr	w0, [x21]
Lloh19:
	adrp	x8, _DPS310_TMP_CFG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DPS310_TMP_CFG@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x8, _DPS310_TMP_EXT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DPS310_TMP_EXT@GOTPAGEOFF]
Lloh24:
	ldr	w2, [x8]
	bl	_regmap_write
	tbnz	w0, #31, LBB0_5
; %bb.7:
	ldr	w0, [x21]
Lloh25:
	adrp	x8, _DPS310_CFG_REG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DPS310_CFG_REG@GOTPAGEOFF]
Lloh27:
	adrp	x9, _DPS310_PRS_SHIFT_EN@GOTPAGE
Lloh28:
	ldr	x9, [x9, _DPS310_PRS_SHIFT_EN@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	ldr	w8, [x9]
Lloh31:
	adrp	x9, _DPS310_TMP_SHIFT_EN@GOTPAGE
Lloh32:
	ldr	x9, [x9, _DPS310_TMP_SHIFT_EN@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w3, #0
	bl	_regmap_write_bits
	tbnz	w0, #31, LBB0_5
; %bb.8:
	ldr	w0, [x21]
Lloh34:
	adrp	x22, _DPS310_MEAS_CFG@GOTPAGE
Lloh35:
	ldr	x22, [x22, _DPS310_MEAS_CFG@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh36:
	adrp	x23, _DPS310_MEAS_CTRL_BITS@GOTPAGE
Lloh37:
	ldr	x23, [x23, _DPS310_MEAS_CTRL_BITS@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w3, #0
	bl	_regmap_write_bits
	tbnz	w0, #31, LBB0_5
; %bb.9:
	ldr	w0, [x21]
	ldr	w1, [x22]
	ldr	w2, [x23]
Lloh38:
	adrp	x8, _DPS310_PRS_EN@GOTPAGE
Lloh39:
	ldr	x8, [x8, _DPS310_PRS_EN@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	adrp	x9, _DPS310_TEMP_EN@GOTPAGE
Lloh42:
	ldr	x9, [x9, _DPS310_TEMP_EN@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh44:
	adrp	x9, _DPS310_BACKGROUND@GOTPAGE
Lloh45:
	ldr	x9, [x9, _DPS310_BACKGROUND@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w3, w8, w9
	bl	_regmap_write_bits
	tbnz	w0, #31, LBB0_5
; %bb.10:
	ldr	w0, [x21]
	ldr	w1, [x22]
	mov	w3, #0
	mov	w4, #10000
	mov	w5, #40000
	bl	_regmap_read_poll_timeout
	tbnz	w0, #31, LBB0_5
; %bb.11:
	mov	x0, x21
	bl	_dps310_get_coefs
	tbnz	w0, #31, LBB0_5
; %bb.12:
	mov	x0, x21
	bl	_dps310_temp_workaround
	tbnz	w0, #31, LBB0_5
; %bb.13:
	mov	x0, x19
	mov	x1, x20
	bl	_devm_iio_device_register
	cbnz	w0, LBB0_5
; %bb.14:
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh29
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_dps310_channels,4,2            ; @dps310_channels
	.comm	_dps310_info,4,2                ; @dps310_info
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_dps310_regmap_config,4,2       ; @dps310_regmap_config
	.comm	_dps310_reset,4,2               ; @dps310_reset
	.comm	_DPS310_PRS_CFG,4,2             ; @DPS310_PRS_CFG
	.comm	_DPS310_TMP_CFG,4,2             ; @DPS310_TMP_CFG
	.comm	_DPS310_TMP_EXT,4,2             ; @DPS310_TMP_EXT
	.comm	_DPS310_CFG_REG,4,2             ; @DPS310_CFG_REG
	.comm	_DPS310_PRS_SHIFT_EN,4,2        ; @DPS310_PRS_SHIFT_EN
	.comm	_DPS310_TMP_SHIFT_EN,4,2        ; @DPS310_TMP_SHIFT_EN
	.comm	_DPS310_MEAS_CFG,4,2            ; @DPS310_MEAS_CFG
	.comm	_DPS310_MEAS_CTRL_BITS,4,2      ; @DPS310_MEAS_CTRL_BITS
	.comm	_DPS310_PRS_EN,4,2              ; @DPS310_PRS_EN
	.comm	_DPS310_TEMP_EN,4,2             ; @DPS310_TEMP_EN
	.comm	_DPS310_BACKGROUND,4,2          ; @DPS310_BACKGROUND
	.comm	_DPS310_COEF_RDY,4,2            ; @DPS310_COEF_RDY
	.no_dead_strip	_dps310_probe
.subsections_via_symbols
