	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm93_probe
_lm93_probe:                            ## @lm93_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	callq	_i2c_get_functionality
	movq	_LM93_SMBUS_FUNC_FULL@GOTPCREL(%rip), %rcx
	notl	%eax
	testl	%eax, (%rcx)
	jne	LBB0_5
## %bb.1:
	movq	_disable_block@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_5
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	movq	_lm93_update_client_full@GOTPCREL(%rip), %rbx
	jmp	LBB0_3
LBB0_5:
	movq	_LM93_SMBUS_FUNC_MIN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	movq	_lm93_update_client_min@GOTPCREL(%rip), %rbx
LBB0_3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.9:
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	$0, 16(%r15)
	movq	%rbx, (%r15)
	movq	%r15, %rdi
	addq	$12, %rdi
	callq	_mutex_init
	movq	%r14, %rdi
	callq	_lm93_init_client
	movq	_lm93_attr_grp@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_create_group
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.10:
	movq	%r14, %rdi
	callq	_hwmon_device_register
	movl	%eax, 8(%r15)
	movl	%eax, %edi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	movl	8(%r15), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_lm93_attr_grp@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_remove_group
LBB0_13:
	movq	%r15, %rdi
	callq	_kfree
	jmp	LBB0_14
LBB0_4:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_LM93_SMBUS_FUNC_FULL,4,2       ## @LM93_SMBUS_FUNC_FULL
	.comm	_disable_block,4,2              ## @disable_block
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"using SMBus block data transactions\n"

	.comm	_LM93_SMBUS_FUNC_MIN,4,2        ## @LM93_SMBUS_FUNC_MIN
L_.str.1:                               ## @.str.1
	.asciz	"disabled SMBus block data transactions\n"

L_.str.2:                               ## @.str.2
	.asciz	"detect failed, smbus byte and/or word data not supported!\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.3:                               ## @.str.3
	.asciz	"out of memory!\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_lm93_attr_grp,4,2              ## @lm93_attr_grp
L_.str.4:                               ## @.str.4
	.asciz	"error registering hwmon device.\n"

	.no_dead_strip	_lm93_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm93_probe
_lm93_probe:                            ; @lm93_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	x19, x0
	ldr	w0, [x0, #4]
	bl	_i2c_get_functionality
Lloh0:
	adrp	x8, _LM93_SMBUS_FUNC_FULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LM93_SMBUS_FUNC_FULL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w8, w8, w0
Lloh3:
	adrp	x9, _disable_block@GOTPAGE
Lloh4:
	ldr	x9, [x9, _disable_block@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #0
	ccmp	w9, #0, #0, eq
	b.eq	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _LM93_SMBUS_FUNC_MIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LM93_SMBUS_FUNC_MIN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	bics	wzr, w8, w0
	b.ne	LBB0_10
; %bb.2:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
Lloh11:
	adrp	x21, _lm93_update_client_min@GOTPAGE
Lloh12:
	ldr	x21, [x21, _lm93_update_client_min@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
Lloh15:
	adrp	x21, _lm93_update_client_full@GOTPAGE
Lloh16:
	ldr	x21, [x21, _lm93_update_client_full@GOTPAGEOFF]
LBB0_4:
Lloh17:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_9
; %bb.5:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	str	xzr, [x20, #16]
	str	x21, [x20]
	add	x0, x20, #12
	bl	_mutex_init
	mov	x0, x19
	bl	_lm93_init_client
Lloh20:
	adrp	x1, _lm93_attr_grp@GOTPAGE
Lloh21:
	ldr	x1, [x1, _lm93_attr_grp@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_create_group
	mov	x21, x0
	cbnz	w0, LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_hwmon_device_register
	str	w0, [x20, #8]
	bl	_IS_ERR
	cbz	w0, LBB0_13
; %bb.7:
	ldr	w0, [x20, #8]
	bl	_PTR_ERR
	mov	x21, x0
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh24:
	adrp	x1, _lm93_attr_grp@GOTPAGE
Lloh25:
	ldr	x1, [x1, _lm93_attr_grp@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_group
LBB0_8:
	mov	x0, x20
	bl	_kfree
	b	LBB0_12
LBB0_9:
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
Lloh28:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
Lloh32:
	adrp	x8, _ENODEV@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_12:
	mov	x0, x21
	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_13:
	mov	w21, #0
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_LM93_SMBUS_FUNC_FULL,4,2       ; @LM93_SMBUS_FUNC_FULL
	.comm	_disable_block,4,2              ; @disable_block
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"using SMBus block data transactions\n"

	.comm	_LM93_SMBUS_FUNC_MIN,4,2        ; @LM93_SMBUS_FUNC_MIN
l_.str.1:                               ; @.str.1
	.asciz	"disabled SMBus block data transactions\n"

l_.str.2:                               ; @.str.2
	.asciz	"detect failed, smbus byte and/or word data not supported!\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.3:                               ; @.str.3
	.asciz	"out of memory!\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_lm93_attr_grp,4,2              ; @lm93_attr_grp
l_.str.4:                               ; @.str.4
	.asciz	"error registering hwmon device.\n"

	.no_dead_strip	_lm93_probe
.subsections_via_symbols
