	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tmp102_probe
_tmp102_probe:                          ## @tmp102_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.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r15
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	_tmp102_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_regmap_init_i2c
	movq	%rax, 16(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	16(%r15), %rdi
	testq	%rax, %rax
	je	LBB0_7
## %bb.19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
LBB0_2:
	movq	%r14, %rdi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_TMP102_CONF_REG@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	js	LBB0_8
## %bb.10:
	movl	-44(%rbp), %eax
	movq	_TMP102_CONFREG_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movq	_TMP102_CONF_R0@GOTPCREL(%rip), %rdx
	movq	_TMP102_CONF_R1@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	cmpl	%esi, %ecx
	jne	LBB0_11
## %bb.12:
	movl	%eax, (%r15)
	movq	_tmp102_restore_config@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_devm_add_action_or_reset
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_18
## %bb.13:
	movq	_TMP102_CONFIG_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-44(%rbp), %edx
	movq	_TMP102_CONFIG_SET@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, -44(%rbp)
	movq	16(%r15), %rdi
	movl	(%r13), %esi
	callq	_regmap_write
	testl	%eax, %eax
	js	LBB0_14
## %bb.15:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_CONVERSION_TIME_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	addq	%rbx, %rax
	movq	%rax, 8(%r15)
	movl	(%r12), %esi
	movq	_tmp102_chip_info@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%r15, %rdx
	xorl	%r8d, %r8d
	callq	_devm_hwmon_device_register_with_info
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	movq	%r15, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_18
LBB0_8:
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rsi
LBB0_9:
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_18
LBB0_11:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_2
LBB0_14:
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_9
LBB0_17:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	jmp	LBB0_18
	.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	_tmp102_regmap_config,4,2       ## @tmp102_regmap_config
	.comm	_TMP102_CONF_REG,4,2            ## @TMP102_CONF_REG
L_.str.1:                               ## @.str.1
	.asciz	"error reading config register\n"

	.comm	_TMP102_CONFREG_MASK,4,2        ## @TMP102_CONFREG_MASK
	.comm	_TMP102_CONF_R0,4,2             ## @TMP102_CONF_R0
	.comm	_TMP102_CONF_R1,4,2             ## @TMP102_CONF_R1
L_.str.2:                               ## @.str.2
	.asciz	"unexpected config register value\n"

	.comm	_tmp102_restore_config,4,2      ## @tmp102_restore_config
	.comm	_TMP102_CONFIG_CLEAR,4,2        ## @TMP102_CONFIG_CLEAR
	.comm	_TMP102_CONFIG_SET,4,2          ## @TMP102_CONFIG_SET
L_.str.3:                               ## @.str.3
	.asciz	"error writing config register\n"

	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_CONVERSION_TIME_MS,4,2         ## @CONVERSION_TIME_MS
	.comm	_tmp102_chip_info,4,2           ## @tmp102_chip_info
L_.str.4:                               ## @.str.4
	.asciz	"unable to register hwmon device\n"

L_.str.5:                               ## @.str.5
	.asciz	"initialized\n"

	.no_dead_strip	_tmp102_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tmp102_probe
_tmp102_probe:                          ; @tmp102_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, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_i2c_set_clientdata
Lloh6:
	adrp	x1, _tmp102_regmap_config@GOTPAGE
Lloh7:
	ldr	x1, [x1, _tmp102_regmap_config@GOTPAGEOFF]
	mov	x0, x20
	bl	_devm_regmap_init_i2c
	str	x0, [x21, #16]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x21, #16]
	cbz	x8, LBB0_9
; %bb.3:
	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
	b	_PTR_ERR
LBB0_4:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_dev_err
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_8:
	mov	x0, x22
	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_9:
Lloh14:
	adrp	x23, _TMP102_CONF_REG@GOTPAGE
Lloh15:
	ldr	x23, [x23, _TMP102_CONF_REG@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x2, sp, #12
	bl	_regmap_read
	tbnz	w0, #31, LBB0_15
; %bb.10:
	ldr	w8, [sp, #12]
Lloh16:
	adrp	x9, _TMP102_CONFREG_MASK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _TMP102_CONFREG_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	bic	w9, w8, w9
Lloh19:
	adrp	x10, _TMP102_CONF_R0@GOTPAGE
Lloh20:
	ldr	x10, [x10, _TMP102_CONF_R0@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
Lloh22:
	adrp	x11, _TMP102_CONF_R1@GOTPAGE
Lloh23:
	ldr	x11, [x11, _TMP102_CONF_R1@GOTPAGEOFF]
Lloh24:
	ldr	w11, [x11]
	orr	w10, w11, w10
	cmp	w9, w10
	b.ne	LBB0_17
; %bb.11:
	str	w8, [x21]
Lloh25:
	adrp	x8, _tmp102_restore_config@GOTPAGE
Lloh26:
	ldr	x8, [x8, _tmp102_restore_config@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_devm_add_action_or_reset
	mov	x22, x0
	cbnz	w0, LBB0_8
; %bb.12:
Lloh28:
	adrp	x8, _TMP102_CONFIG_CLEAR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TMP102_CONFIG_CLEAR@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
Lloh31:
	adrp	x10, _TMP102_CONFIG_SET@GOTPAGE
Lloh32:
	ldr	x10, [x10, _TMP102_CONFIG_SET@GOTPAGEOFF]
	bic	w8, w9, w8
Lloh33:
	ldr	w9, [x10]
	orr	w2, w9, w8
	str	w2, [sp, #12]
	ldr	x0, [x21, #16]
	ldr	w1, [x23]
	bl	_regmap_write
	tbnz	w0, #31, LBB0_18
; %bb.13:
Lloh34:
	adrp	x8, _jiffies@GOTPAGE
Lloh35:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh36:
	ldr	x22, [x8]
Lloh37:
	adrp	x8, _CONVERSION_TIME_MS@GOTPAGE
Lloh38:
	ldr	x8, [x8, _CONVERSION_TIME_MS@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	add	x8, x0, x22
	str	x8, [x21, #8]
	ldr	w1, [x20]
Lloh40:
	adrp	x3, _tmp102_chip_info@GOTPAGE
Lloh41:
	ldr	x3, [x3, _tmp102_chip_info@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x21
	mov	x4, #0
	bl	_devm_hwmon_device_register_with_info
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_19
; %bb.14:
Lloh42:
	adrp	x1, l_.str.4@PAGE
Lloh43:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	mov	x0, x20
	bl	_PTR_ERR
	mov	x22, x0
	b	LBB0_8
LBB0_15:
	mov	x22, x0
Lloh44:
	adrp	x1, l_.str.1@PAGE
Lloh45:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_16:
	mov	x0, x19
	bl	_dev_err
	b	LBB0_8
LBB0_17:
Lloh46:
	adrp	x1, l_.str.2@PAGE
Lloh47:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_18:
	mov	x22, x0
Lloh48:
	adrp	x1, l_.str.3@PAGE
Lloh49:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_19:
Lloh50:
	adrp	x1, l_.str.5@PAGE
Lloh51:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w22, #0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.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	_tmp102_regmap_config,4,2       ; @tmp102_regmap_config
	.comm	_TMP102_CONF_REG,4,2            ; @TMP102_CONF_REG
l_.str.1:                               ; @.str.1
	.asciz	"error reading config register\n"

	.comm	_TMP102_CONFREG_MASK,4,2        ; @TMP102_CONFREG_MASK
	.comm	_TMP102_CONF_R0,4,2             ; @TMP102_CONF_R0
	.comm	_TMP102_CONF_R1,4,2             ; @TMP102_CONF_R1
l_.str.2:                               ; @.str.2
	.asciz	"unexpected config register value\n"

	.comm	_tmp102_restore_config,4,2      ; @tmp102_restore_config
	.comm	_TMP102_CONFIG_CLEAR,4,2        ; @TMP102_CONFIG_CLEAR
	.comm	_TMP102_CONFIG_SET,4,2          ; @TMP102_CONFIG_SET
l_.str.3:                               ; @.str.3
	.asciz	"error writing config register\n"

	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_CONVERSION_TIME_MS,4,2         ; @CONVERSION_TIME_MS
	.comm	_tmp102_chip_info,4,2           ; @tmp102_chip_info
l_.str.4:                               ; @.str.4
	.asciz	"unable to register hwmon device\n"

l_.str.5:                               ; @.str.5
	.asciz	"initialized\n"

	.no_dead_strip	_tmp102_probe
.subsections_via_symbols
