	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx90614_probe
_mlx90614_probe:                        ## @mlx90614_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	movq	_I2C_FUNC_SMBUS_WORD_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_devm_iio_device_alloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_iio_priv
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_i2c_set_clientdata
	movq	%rbx, 16(%r15)
	leaq	8(%r15), %rdi
	callq	_mutex_init
	movq	%rbx, %rdi
	callq	_mlx90614_probe_wakeup
	movq	%rax, (%r15)
	movq	%r15, %rdi
	callq	_mlx90614_wakeup
	movq	%rbx, 32(%r14)
	movl	(%r12), %eax
	movl	%eax, 28(%r14)
	movq	_INDIO_DIRECT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	_mlx90614_info@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r14)
	movq	%rbx, %rdi
	callq	_mlx90614_probe_num_ir_sensors
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.9:
	movl	$3, %r12d
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_10
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	$2, %r12d
	leaq	L_.str(%rip), %rsi
LBB0_10:
	movq	%rbx, %rdi
	callq	_dev_dbg
	movq	_mlx90614_channels@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movl	%r12d, (%r14)
	cmpq	$0, (%r15)
	je	LBB0_12
## %bb.11:
	movq	_MLX90614_AUTOSLEEP_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pm_runtime_set_autosuspend_delay
	movq	%rbx, %rdi
	callq	_pm_runtime_use_autosuspend
	movq	%rbx, %rdi
	callq	_pm_runtime_set_active
	movq	%rbx, %rdi
	callq	_pm_runtime_enable
LBB0_12:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iio_device_register            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ## @I2C_FUNC_SMBUS_WORD_DATA
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_INDIO_DIRECT_MODE,4,2          ## @INDIO_DIRECT_MODE
	.comm	_mlx90614_info,4,2              ## @mlx90614_info
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Found single sensor"

	.comm	_mlx90614_channels,8,3          ## @mlx90614_channels
L_.str.1:                               ## @.str.1
	.asciz	"Found dual sensor"

	.comm	_MLX90614_AUTOSLEEP_DELAY,4,2   ## @MLX90614_AUTOSLEEP_DELAY
	.no_dead_strip	_mlx90614_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx90614_probe
_mlx90614_probe:                        ; @mlx90614_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_WORD_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_WORD_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_check_functionality
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x19
	mov	w1, #24
	bl	_devm_iio_device_alloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x20, x0
	bl	_iio_priv
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	str	x19, [x21, #16]
	add	x0, x21, #8
	bl	_mutex_init
	mov	x0, x19
	bl	_mlx90614_probe_wakeup
	str	x0, [x21]
	mov	x0, x21
	bl	_mlx90614_wakeup
	str	x19, [x20, #32]
	ldr	w8, [x22]
Lloh3:
	adrp	x9, _INDIO_DIRECT_MODE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INDIO_DIRECT_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #24]
Lloh6:
	adrp	x8, _mlx90614_info@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mlx90614_info@GOTPAGEOFF]
	str	x8, [x20, #16]
	mov	x0, x19
	bl	_mlx90614_probe_num_ir_sensors
	cbz	w0, LBB0_9
; %bb.3:
	cmp	w0, #1
	b.ne	LBB0_8
; %bb.4:
	mov	w22, #3
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_5:
Lloh10:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w22, #2
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
LBB0_10:
	mov	x0, x19
	bl	_dev_dbg
Lloh16:
	adrp	x8, _mlx90614_channels@GOTPAGE
Lloh17:
	ldr	x8, [x8, _mlx90614_channels@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x20, #8]
	str	w22, [x20]
	ldr	x8, [x21]
	cbz	x8, LBB0_12
; %bb.11:
Lloh19:
	adrp	x8, _MLX90614_AUTOSLEEP_DELAY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MLX90614_AUTOSLEEP_DELAY@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_pm_runtime_set_autosuspend_delay
	mov	x0, x19
	bl	_pm_runtime_use_autosuspend
	mov	x0, x19
	bl	_pm_runtime_set_active
	mov	x0, x19
	bl	_pm_runtime_enable
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_iio_device_register
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ; @I2C_FUNC_SMBUS_WORD_DATA
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_INDIO_DIRECT_MODE,4,2          ; @INDIO_DIRECT_MODE
	.comm	_mlx90614_info,4,2              ; @mlx90614_info
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Found single sensor"

	.comm	_mlx90614_channels,8,3          ; @mlx90614_channels
l_.str.1:                               ; @.str.1
	.asciz	"Found dual sensor"

	.comm	_MLX90614_AUTOSLEEP_DELAY,4,2   ; @MLX90614_AUTOSLEEP_DELAY
	.no_dead_strip	_mlx90614_probe
.subsections_via_symbols
