	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc_i2c_probe
_smsc_i2c_probe:                        ## @smsc_i2c_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_smsc_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regmap_init_i2c
	movl	%eax, 4(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movl	4(%rbx), %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, 8(%rbx)
	movl	4(%rbx), %edi
	movq	_SMSC_DEV_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	callq	_regmap_read
	movl	4(%rbx), %edi
	movq	_SMSC_DEV_REV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rdx
	callq	_regmap_read
	movl	4(%rbx), %edi
	movq	_SMSC_VEN_ID_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	callq	_regmap_read
	movl	4(%rbx), %edi
	movq	_SMSC_VEN_ID_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_regmap_read
	movl	-32(%rbp), %edx
	movl	-28(%rbp), %ecx
	movl	-20(%rbp), %r8d
	shll	$8, %r8d
	orl	-24(%rbp), %r8d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	movl	(%rbx), %edx
	movl	4(%rbx), %edi
	movq	_SMSC_CLK_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regmap_write
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_smsc_regmap_config,4,2         ## @smsc_regmap_config
	.comm	_SMSC_DEV_ID,4,2                ## @SMSC_DEV_ID
	.comm	_SMSC_DEV_REV,4,2               ## @SMSC_DEV_REV
	.comm	_SMSC_VEN_ID_L,4,2              ## @SMSC_VEN_ID_L
	.comm	_SMSC_VEN_ID_H,4,2              ## @SMSC_VEN_ID_H
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SMSCxxx devid: %02x rev: %02x venid: %02x\n"

	.comm	_SMSC_CLK_CTRL,4,2              ## @SMSC_CLK_CTRL
	.no_dead_strip	_smsc_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc_i2c_probe
_smsc_i2c_probe:                        ; @smsc_i2c_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x1, _smsc_regmap_config@GOTPAGE
Lloh4:
	ldr	x1, [x1, _smsc_regmap_config@GOTPAGEOFF]
	mov	x0, x20
	bl	_devm_regmap_init_i2c
	str	w0, [x19, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_PTR_ERR
LBB0_3:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_i2c_set_clientdata
	str	x20, [x19, #8]
	ldr	w0, [x19, #4]
Lloh8:
	adrp	x8, _SMSC_DEV_ID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SMSC_DEV_ID@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	ldr	w0, [x19, #4]
Lloh11:
	adrp	x8, _SMSC_DEV_REV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SMSC_DEV_REV@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_regmap_read
	ldr	w0, [x19, #4]
Lloh14:
	adrp	x8, _SMSC_VEN_ID_L@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SMSC_VEN_ID_L@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	add	x2, sp, #4
	bl	_regmap_read
	ldr	w0, [x19, #4]
Lloh17:
	adrp	x8, _SMSC_VEN_ID_H@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SMSC_VEN_ID_H@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_regmap_read
	ldp	w3, w2, [sp, #8]
	ldp	w8, w9, [sp]
	orr	w4, w9, w8, lsl #8
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_info
Lloh22:
	adrp	x8, _SMSC_CLK_CTRL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SMSC_CLK_CTRL@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldp	w2, w0, [x19]
	bl	_regmap_write
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_smsc_regmap_config,4,2         ; @smsc_regmap_config
	.comm	_SMSC_DEV_ID,4,2                ; @SMSC_DEV_ID
	.comm	_SMSC_DEV_REV,4,2               ; @SMSC_DEV_REV
	.comm	_SMSC_VEN_ID_L,4,2              ; @SMSC_VEN_ID_L
	.comm	_SMSC_VEN_ID_H,4,2              ; @SMSC_VEN_ID_H
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SMSCxxx devid: %02x rev: %02x venid: %02x\n"

	.comm	_SMSC_CLK_CTRL,4,2              ; @SMSC_CLK_CTRL
	.no_dead_strip	_smsc_i2c_probe
.subsections_via_symbols
