	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tmp108_probe
_tmp108_probe:                          ## @tmp108_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	%rdi, %r12
	leaq	8(%rdi), %r14
	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.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$12, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_dev_set_drvdata
	movq	_tmp108_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_regmap_init_i2c
	movl	%eax, 8(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	movl	8(%r15), %edi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	jmp	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_17
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_17
LBB0_6:
	movq	_TMP108_REG_CONF@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_7
## %bb.10:
	movl	-44(%rbp), %eax
	movl	%eax, (%r15)
	movq	_TMP108_CONF_MODE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	-44(%rbp), %eax
	movq	_TMP108_MODE_CONTINUOUS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_TMP108_CONF_TM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	%edx, -44(%rbp)
	movl	8(%r15), %edi
	movl	(%r13), %esi
	callq	_regmap_write
	testl	%eax, %eax
	js	LBB0_11
## %bb.12:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	_TMP108_CONF_MODE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r15), %eax
	movq	_TMP108_MODE_SHUTDOWN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
## %bb.13:
	movq	_TMP108_CONVERSION_TIME_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	addl	%eax, 4(%r15)
LBB0_14:
	movq	_tmp108_restore_config@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_devm_add_action_or_reset
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_8
LBB0_7:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_8
LBB0_11:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
LBB0_8:
	movq	%r14, %rdi
	movl	%ebx, %edx
LBB0_9:
	xorl	%eax, %eax
	callq	_dev_err
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	(%r12), %esi
	movq	_tmp108_chip_info@GOTPCREL(%rip), %rcx
	movq	%r14, %rdi
	movq	%r15, %rdx
	xorl	%r8d, %r8d
	callq	_devm_hwmon_device_register_with_info
	movq	%rax, %rdi
	callq	_PTR_ERR_OR_ZERO
	movl	%eax, %ebx
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ## @I2C_FUNC_SMBUS_WORD_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"adapter doesn't support SMBus word transactions\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_tmp108_regmap_config,4,2       ## @tmp108_regmap_config
L_.str.1:                               ## @.str.1
	.asciz	"regmap init failed: %d"

	.comm	_TMP108_REG_CONF,4,2            ## @TMP108_REG_CONF
L_.str.2:                               ## @.str.2
	.asciz	"error reading config register: %d"

	.comm	_TMP108_CONF_MODE_MASK,4,2      ## @TMP108_CONF_MODE_MASK
	.comm	_TMP108_MODE_CONTINUOUS,4,2     ## @TMP108_MODE_CONTINUOUS
	.comm	_TMP108_CONF_TM,4,2             ## @TMP108_CONF_TM
L_.str.3:                               ## @.str.3
	.asciz	"error writing config register: %d"

	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_TMP108_MODE_SHUTDOWN,4,2       ## @TMP108_MODE_SHUTDOWN
	.comm	_TMP108_CONVERSION_TIME_MS,4,2  ## @TMP108_CONVERSION_TIME_MS
	.comm	_tmp108_restore_config,4,2      ## @tmp108_restore_config
L_.str.4:                               ## @.str.4
	.asciz	"add action or reset failed: %d"

	.comm	_tmp108_chip_info,4,2           ## @tmp108_chip_info
	.no_dead_strip	_tmp108_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tmp108_probe
_tmp108_probe:                          ; @tmp108_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x0
	add	x19, x0, #8
	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_4
; %bb.1:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #12
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_dev_set_drvdata
Lloh6:
	adrp	x1, _tmp108_regmap_config@GOTPAGE
Lloh7:
	ldr	x1, [x1, _tmp108_regmap_config@GOTPAGEOFF]
	mov	x0, x20
	bl	_devm_regmap_init_i2c
	str	w0, [x21, #8]
	bl	_IS_ERR
	mov	x8, x0
	ldr	w0, [x21, #8]
	cbz	x8, LBB0_8
; %bb.3:
	bl	_PTR_ERR
	mov	x20, x0
	str	x20, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_7
LBB0_4:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
Lloh16:
	adrp	x23, _TMP108_REG_CONF@GOTPAGE
Lloh17:
	ldr	x23, [x23, _TMP108_REG_CONF@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #12
	bl	_regmap_read
	tbnz	w0, #31, LBB0_14
; %bb.9:
	ldr	w8, [sp, #12]
	str	w8, [x21]
Lloh18:
	adrp	x24, _TMP108_CONF_MODE_MASK@GOTPAGE
Lloh19:
	ldr	x24, [x24, _TMP108_CONF_MODE_MASK@GOTPAGEOFF]
	ldr	w8, [x24]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
Lloh20:
	adrp	x9, _TMP108_MODE_CONTINUOUS@GOTPAGE
Lloh21:
	ldr	x9, [x9, _TMP108_MODE_CONTINUOUS@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	adrp	x10, _TMP108_CONF_TM@GOTPAGE
Lloh24:
	ldr	x10, [x10, _TMP108_CONF_TM@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh25:
	ldr	w9, [x10]
	bic	w2, w8, w9
	str	w2, [sp, #12]
	ldr	w0, [x21, #8]
	ldr	w1, [x23]
	bl	_regmap_write
	tbnz	w0, #31, LBB0_15
; %bb.10:
Lloh26:
	adrp	x8, _jiffies@GOTPAGE
Lloh27:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	str	w8, [x21, #4]
	ldr	w8, [x21]
	ldr	w9, [x24]
	and	w8, w9, w8
Lloh29:
	adrp	x9, _TMP108_MODE_SHUTDOWN@GOTPAGE
Lloh30:
	ldr	x9, [x9, _TMP108_MODE_SHUTDOWN@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_12
; %bb.11:
Lloh32:
	adrp	x8, _TMP108_CONVERSION_TIME_MS@GOTPAGE
Lloh33:
	ldr	x8, [x8, _TMP108_CONVERSION_TIME_MS@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	ldr	w8, [x21, #4]
	add	w8, w8, w0
	str	w8, [x21, #4]
LBB0_12:
Lloh35:
	adrp	x8, _tmp108_restore_config@GOTPAGE
Lloh36:
	ldr	x8, [x8, _tmp108_restore_config@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_devm_add_action_or_reset
	cbz	w0, LBB0_17
; %bb.13:
	mov	x22, x0
	str	x22, [sp]
Lloh38:
	adrp	x1, l_.str.4@PAGE
Lloh39:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_14:
	mov	x22, x0
	str	x22, [sp]
Lloh40:
	adrp	x1, l_.str.2@PAGE
Lloh41:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_15:
	mov	x22, x0
	str	x22, [sp]
Lloh42:
	adrp	x1, l_.str.3@PAGE
Lloh43:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_16:
	mov	x0, x19
	bl	_dev_err
	mov	x20, x22
	b	LBB0_7
LBB0_17:
	ldr	w1, [x20]
Lloh44:
	adrp	x3, _tmp108_chip_info@GOTPAGE
Lloh45:
	ldr	x3, [x3, _tmp108_chip_info@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x21
	mov	x4, #0
	bl	_devm_hwmon_device_register_with_info
	bl	_PTR_ERR_OR_ZERO
	mov	x20, x0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ; @I2C_FUNC_SMBUS_WORD_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"adapter doesn't support SMBus word transactions\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_tmp108_regmap_config,4,2       ; @tmp108_regmap_config
l_.str.1:                               ; @.str.1
	.asciz	"regmap init failed: %d"

	.comm	_TMP108_REG_CONF,4,2            ; @TMP108_REG_CONF
l_.str.2:                               ; @.str.2
	.asciz	"error reading config register: %d"

	.comm	_TMP108_CONF_MODE_MASK,4,2      ; @TMP108_CONF_MODE_MASK
	.comm	_TMP108_MODE_CONTINUOUS,4,2     ; @TMP108_MODE_CONTINUOUS
	.comm	_TMP108_CONF_TM,4,2             ; @TMP108_CONF_TM
l_.str.3:                               ; @.str.3
	.asciz	"error writing config register: %d"

	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_TMP108_MODE_SHUTDOWN,4,2       ; @TMP108_MODE_SHUTDOWN
	.comm	_TMP108_CONVERSION_TIME_MS,4,2  ; @TMP108_CONVERSION_TIME_MS
	.comm	_tmp108_restore_config,4,2      ; @tmp108_restore_config
l_.str.4:                               ; @.str.4
	.asciz	"add action or reset failed: %d"

	.comm	_tmp108_chip_info,4,2           ; @tmp108_chip_info
	.no_dead_strip	_tmp108_probe
.subsections_via_symbols
