	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm75_probe
_lm75_probe:                            ## @lm75_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	%rdi, %r15
	leaq	8(%rdi), %r14
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_of_device_get_match_data
	movq	%rax, %rbx
	jmp	LBB0_3
LBB0_2:
	movl	(%rsi), %ebx
LBB0_3:
	movl	4(%r15), %edi
	movq	_I2C_FUNC_SMBUS_BYTE_DATA@GOTPCREL(%rip), %rax
	movq	_I2C_FUNC_SMBUS_WORD_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r12
	movq	%r15, 40(%rax)
	movl	%ebx, (%rax)
	movq	_lm75_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_regmap_init_i2c
	movq	%rax, 32(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	32(%r12), %rdi
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_4:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_17:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_device_params@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%r12), %rcx
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rdx
	movq	%rdx, 16(%r12)
	movl	12(%rax,%rcx), %edx
	movl	%edx, 28(%r12)
	movl	8(%rax,%rcx), %eax
	movl	%eax, 24(%r12)
	movq	_LM75_REG_CONF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_12
## %bb.13:
	movl	%ebx, 4(%r12)
	movl	%ebx, 8(%r12)
	movq	16(%r12), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r12, %rdi
	callq	_lm75_write_config
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.14:
	movq	_lm75_remove@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r12, %rdx
	callq	_devm_add_action_or_reset
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:
	movl	(%r15), %esi
	movq	_lm75_chip_info@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%r12, %rdx
	xorl	%r8d, %r8d
	callq	_devm_hwmon_device_register_with_info
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	%r12, %rdi
	testq	%rax, %rax
	jne	LBB0_10
## %bb.16:
	callq	_dev_name
	movl	(%r15), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_info
	jmp	LBB0_17
LBB0_12:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_dbg
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ## @I2C_FUNC_SMBUS_BYTE_DATA
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ## @I2C_FUNC_SMBUS_WORD_DATA
	.comm	_EIO,4,2                        ## @EIO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_lm75_regmap_config,4,2         ## @lm75_regmap_config
	.comm	_device_params,8,3              ## @device_params
	.comm	_LM75_REG_CONF,4,2              ## @LM75_REG_CONF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't read config? %d\n"

	.comm	_lm75_remove,4,2                ## @lm75_remove
	.comm	_lm75_chip_info,4,2             ## @lm75_chip_info
L_.str.1:                               ## @.str.1
	.asciz	"%s: sensor '%s'\n"

	.no_dead_strip	_lm75_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm75_probe
_lm75_probe:                            ; @lm75_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	x20, x0
	mov	x19, x0
	ldr	x8, [x19, #8]!
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_of_device_get_match_data
	mov	x22, x0
	b	LBB0_3
LBB0_2:
	ldr	w22, [x1]
LBB0_3:
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGEOFF]
	ldr	w0, [x20, #4]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _I2C_FUNC_SMBUS_WORD_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2C_FUNC_SMBUS_WORD_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_i2c_check_functionality
	cbz	w0, LBB0_8
; %bb.4:
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_9
; %bb.5:
	mov	x21, x0
	str	x20, [x0, #40]
	str	w22, [x0]
Lloh9:
	adrp	x1, _lm75_regmap_config@GOTPAGE
Lloh10:
	ldr	x1, [x1, _lm75_regmap_config@GOTPAGEOFF]
	mov	x0, x20
	bl	_devm_regmap_init_i2c
	str	x0, [x21, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.6:
	ldr	x0, [x21, #32]
LBB0_7:
	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	_PTR_ERR
LBB0_8:
Lloh11:
	adrp	x8, _EIO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_11:
	mov	x0, x22
	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_12:
Lloh15:
	adrp	x8, _device_params@GOTPAGE
Lloh16:
	ldr	x8, [x8, _device_params@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldrsw	x9, [x21]
	add	x8, x8, x9, lsl #4
	str	x8, [x21, #16]
	ldr	d0, [x8, #8]
	str	d0, [x21, #24]
Lloh18:
	adrp	x8, _LM75_REG_CONF@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LM75_REG_CONF@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_i2c_smbus_read_byte_data
	mov	x22, x0
	tbnz	w0, #31, LBB0_17
; %bb.13:
	stp	w22, w22, [x21, #4]
	ldr	x8, [x21, #16]
	ldp	w2, w1, [x8]
	mov	x0, x21
	bl	_lm75_write_config
	mov	x22, x0
	cbnz	w0, LBB0_11
; %bb.14:
Lloh21:
	adrp	x8, _lm75_remove@GOTPAGE
Lloh22:
	ldr	x8, [x8, _lm75_remove@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_devm_add_action_or_reset
	mov	x22, x0
	cbnz	w0, LBB0_11
; %bb.15:
	ldr	w1, [x20]
Lloh24:
	adrp	x3, _lm75_chip_info@GOTPAGE
Lloh25:
	ldr	x3, [x3, _lm75_chip_info@GOTPAGEOFF]
	mov	x0, x19
	mov	x2, x21
	mov	x4, #0
	bl	_devm_hwmon_device_register_with_info
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_18
; %bb.16:
	mov	x0, x21
	b	LBB0_7
LBB0_17:
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_dev_dbg
	b	LBB0_11
LBB0_18:
	mov	x0, x21
	bl	_dev_name
	mov	x2, x0
	ldr	w3, [x20]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w22, #0
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ; @I2C_FUNC_SMBUS_BYTE_DATA
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ; @I2C_FUNC_SMBUS_WORD_DATA
	.comm	_EIO,4,2                        ; @EIO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_lm75_regmap_config,4,2         ; @lm75_regmap_config
	.comm	_device_params,8,3              ; @device_params
	.comm	_LM75_REG_CONF,4,2              ; @LM75_REG_CONF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't read config? %d\n"

	.comm	_lm75_remove,4,2                ; @lm75_remove
	.comm	_lm75_chip_info,4,2             ; @lm75_chip_info
l_.str.1:                               ; @.str.1
	.asciz	"%s: sensor '%s'\n"

	.no_dead_strip	_lm75_probe
.subsections_via_symbols
