	.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	%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, %r15
	movl	8(%rdi), %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_1
## %bb.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$12, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, %rdi
	addq	$8, %rdi
	callq	_mutex_init
	movq	_LM75_REG_CONF@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_lm75_read_value
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	movl	%ebx, (%r14)
	movl	%ebx, %r12d
	andl	$-98, %r12d
	cmpl	%r12d, %ebx
	je	LBB0_9
## %bb.8:
	movl	(%r13), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_lm75_write_value
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_dev_dbg
	movq	_lm75_group@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_sysfs_create_group
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.10:
	movq	%r15, %rdi
	callq	_hwmon_device_register
	movl	%eax, 4(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	movl	4(%r14), %edi
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_lm75_group@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_sysfs_remove_group
	jmp	LBB0_12
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_dev_dbg
LBB0_12:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_i2c_set_clientdata
	movq	%r14, %rdi
	callq	_kfree
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	_dev_name
	movl	4(%r15), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_dev_info
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.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_REG_CONF,4,2              ## @LM75_REG_CONF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't read config? %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Config %02x\n"

	.comm	_lm75_group,4,2                 ## @lm75_group
L_.str.2:                               ## @.str.2
	.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	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	x19, x0
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGEOFF]
	ldr	w0, [x0, #8]
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.1:
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #12
	bl	_kzalloc
	cbz	x0, LBB0_9
; %bb.2:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	add	x0, x20, #8
	bl	_mutex_init
Lloh9:
	adrp	x23, _LM75_REG_CONF@GOTPAGE
Lloh10:
	ldr	x23, [x23, _LM75_REG_CONF@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_lm75_read_value
	mov	x21, x0
	tbnz	w0, #31, LBB0_11
; %bb.3:
	str	w21, [x20]
	mov	w8, #-98
	and	w22, w21, w8
	cmp	w21, w22
	b.eq	LBB0_5
; %bb.4:
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x22
	bl	_lm75_write_value
LBB0_5:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_dev_dbg
Lloh13:
	adrp	x1, _lm75_group@GOTPAGE
Lloh14:
	ldr	x1, [x1, _lm75_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_create_group
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.6:
	mov	x0, x19
	bl	_hwmon_device_register
	str	w0, [x20, #4]
	bl	_IS_ERR
	mov	x8, x0
	ldr	w0, [x20, #4]
	cbz	x8, LBB0_14
; %bb.7:
	bl	_PTR_ERR
	mov	x21, x0
Lloh15:
	adrp	x1, _lm75_group@GOTPAGE
Lloh16:
	ldr	x1, [x1, _lm75_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_group
	b	LBB0_12
LBB0_8:
Lloh17:
	adrp	x8, _EIO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_13
LBB0_11:
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_dbg
LBB0_12:
	mov	x0, x19
	mov	x1, #0
	bl	_i2c_set_clientdata
	mov	x0, x20
	bl	_kfree
LBB0_13:
	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
LBB0_14:
	bl	_dev_name
	mov	x2, x0
	ldr	w3, [x19, #4]
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	mov	w21, #0
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.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_REG_CONF,4,2              ; @LM75_REG_CONF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't read config? %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Config %02x\n"

	.comm	_lm75_group,4,2                 ; @lm75_group
l_.str.2:                               ; @.str.2
	.asciz	"%s: sensor '%s'\n"

	.no_dead_strip	_lm75_probe
.subsections_via_symbols
