	.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	%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
	movl	4(%rdi), %edi
	callq	_i2c_get_functionality
	movq	_LM93_SMBUS_FUNC_FULL@GOTPCREL(%rip), %rcx
	notl	%eax
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.1:
	movq	_disable_block@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	_lm93_update_client_full@GOTPCREL(%rip), %r12
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_3:
	movq	_LM93_SMBUS_FUNC_MIN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_8
## %bb.4:
	movq	_lm93_update_client_min@GOTPCREL(%rip), %r12
	leaq	L_.str.1(%rip), %rsi
LBB0_5:
	movq	%r14, %rdi
	callq	_dev_dbg
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:
	movq	%rax, %rbx
	movq	%r15, 16(%rax)
	movq	%r12, (%rax)
	movq	%rax, %rdi
	addq	$8, %rdi
	callq	_mutex_init
	movq	%r15, %rdi
	callq	_lm93_init_client
	movl	(%r15), %esi
	movq	_lm93_groups@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_devm_hwmon_device_register_with_groups
	movq	%rax, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR_OR_ZERO                ## TAILCALL
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_7:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_lm93_groups,4,2                ## @lm93_groups
	.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	x20, x0
	add	x19, x0, #8
	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_7
; %bb.2:
Lloh9:
	adrp	x22, _lm93_update_client_min@GOTPAGE
Lloh10:
	ldr	x22, [x22, _lm93_update_client_min@GOTPAGEOFF]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh13:
	adrp	x22, _lm93_update_client_full@GOTPAGE
Lloh14:
	ldr	x22, [x22, _lm93_update_client_full@GOTPAGEOFF]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_dev_dbg
Lloh17:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #24
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.5:
	mov	x21, x0
	str	x20, [x0, #16]
	str	x22, [x0], #8
	bl	_mutex_init
	mov	x0, x20
	bl	_lm93_init_client
	ldr	w1, [x20]
Lloh20:
	adrp	x8, _lm93_groups@GOTPAGE
Lloh21:
	ldr	x8, [x8, _lm93_groups@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_devm_hwmon_device_register_with_groups
	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_OR_ZERO
LBB0_6:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
Lloh27:
	adrp	x8, _ENODEV@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.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
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_lm93_groups,4,2                ; @lm93_groups
	.no_dead_strip	_lm93_probe
.subsections_via_symbols
