	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ms5611_probe                   ## -- Begin function ms5611_probe
	.p2align	4, 0x90
_ms5611_probe:                          ## @ms5611_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
	movl	%ecx, %r13d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_iio_priv
	movq	%rax, %r14
	leaq	24(%rax), %rdi
	callq	_mutex_init
	movq	_chip_info_tbl@GOTPCREL(%rip), %rax
	movslq	%r13d, %rcx
	shlq	$2, %rcx
	addq	(%rax), %rcx
	movq	%rcx, 16(%r14)
	movq	_ms5611_avail_temp_osr@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	cltq
	leaq	(%rbx,%rax,4), %rax
	addq	$-4, %rax
	movq	%rax, 8(%r14)
	movq	_ms5611_avail_pressure_osr@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	cltq
	leaq	(%rbx,%rax,4), %rax
	addq	$-4, %rax
	movq	%rax, (%r14)
	movq	%r15, %r14
	movq	%r15, 40(%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r12)
	movq	_ms5611_info@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r12)
	movq	_ms5611_channels@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, 24(%r12)
	callq	_ARRAY_SIZE
	movl	%eax, 8(%r12)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	_ms5611_scan_masks@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r12)
	movq	%r12, %rdi
	callq	_ms5611_init
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_ms5611_trigger_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_iio_triggered_buffer_setup
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	%r12, %rdi
	callq	_iio_device_register
	testl	%eax, %eax
	jns	LBB0_7
## %bb.5:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	%r12, %rdi
	callq	_iio_triggered_buffer_cleanup
	jmp	LBB0_6
LBB0_1:
	movl	%eax, %r15d
	jmp	LBB0_7
LBB0_3:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_6:
	movl	%ebx, %r15d
	movq	%r12, %rdi
	callq	_ms5611_fini
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_chip_info_tbl,8,3              ## @chip_info_tbl
	.comm	_ms5611_avail_temp_osr,8,3      ## @ms5611_avail_temp_osr
	.comm	_ms5611_avail_pressure_osr,8,3  ## @ms5611_avail_pressure_osr
	.comm	_ms5611_info,4,2                ## @ms5611_info
	.comm	_ms5611_channels,8,3            ## @ms5611_channels
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_ms5611_scan_masks,4,2          ## @ms5611_scan_masks
	.comm	_ms5611_trigger_handler,4,2     ## @ms5611_trigger_handler
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"iio triggered buffer setup failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"unable to register iio device\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ms5611_probe                   ; -- Begin function ms5611_probe
	.p2align	2
_ms5611_probe:                          ; @ms5611_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	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	bl	_iio_priv
	mov	x23, x0
	add	x0, x0, #24
	bl	_mutex_init
Lloh0:
	adrp	x8, _chip_info_tbl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _chip_info_tbl@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, w21, sxtw #2
	str	x8, [x23, #16]
Lloh3:
	adrp	x8, _ms5611_avail_temp_osr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ms5611_avail_temp_osr@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	sub	w8, w0, #1
	add	x8, x21, w8, sxtw #2
	str	x8, [x23, #8]
Lloh6:
	adrp	x8, _ms5611_avail_pressure_osr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ms5611_avail_pressure_osr@GOTPAGEOFF]
Lloh8:
	ldr	x21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	sub	w8, w0, #1
	add	x8, x21, w8, sxtw #2
	str	x8, [x23]
	str	x20, [x19, #40]
Lloh9:
	adrp	x8, _ms5611_info@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ms5611_info@GOTPAGEOFF]
	str	x22, [x19]
Lloh11:
	adrp	x9, _ms5611_channels@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ms5611_channels@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x9]
	stp	x0, x8, [x19, #24]
	bl	_ARRAY_SIZE
Lloh14:
	adrp	x8, _INDIO_DIRECT_MODE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh17:
	adrp	x8, _ms5611_scan_masks@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ms5611_scan_masks@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	stp	w0, w8, [x19, #8]
	mov	x0, x19
	bl	_ms5611_init
	tbnz	w0, #31, LBB0_4
; %bb.1:
Lloh20:
	adrp	x8, _ms5611_trigger_handler@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ms5611_trigger_handler@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	mov	x3, #0
	bl	_iio_triggered_buffer_setup
	tbnz	w0, #31, LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_iio_device_register
	tbnz	w0, #31, LBB0_6
; %bb.3:
	mov	w21, #0
	b	LBB0_8
LBB0_4:
	mov	x21, x0
	b	LBB0_8
LBB0_5:
	mov	x21, x0
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_7
LBB0_6:
	mov	x21, x0
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	mov	x0, x19
	bl	_iio_triggered_buffer_cleanup
LBB0_7:
	mov	x0, x19
	bl	_ms5611_fini
LBB0_8:
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_chip_info_tbl,8,3              ; @chip_info_tbl
	.comm	_ms5611_avail_temp_osr,8,3      ; @ms5611_avail_temp_osr
	.comm	_ms5611_avail_pressure_osr,8,3  ; @ms5611_avail_pressure_osr
	.comm	_ms5611_info,4,2                ; @ms5611_info
	.comm	_ms5611_channels,8,3            ; @ms5611_channels
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_ms5611_scan_masks,4,2          ; @ms5611_scan_masks
	.comm	_ms5611_trigger_handler,4,2     ; @ms5611_trigger_handler
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"iio triggered buffer setup failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"unable to register iio device\n"

.subsections_via_symbols
