	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si2157_probe
_si2157_probe:                          ## @si2157_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdi), %r13
	movq	16(%r13), %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$64, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_i2c_set_clientdata
	movq	16(%r13), %rax
	movq	%rax, 56(%rbx)
	movl	12(%r13), %eax
	movl	%eax, 52(%rbx)
	movl	8(%r13), %eax
	movl	%eax, 48(%rbx)
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	movl	$5000000, 8(%rbx)               ## imm = 0x4C4B40
	leaq	44(%rbx), %rdi
	callq	_mutex_init
	movq	%rbx, %rdi
	addq	$40, %rdi
	movq	_si2157_stat_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	$0, -48(%rbp)
	movl	$1, -56(%rbp)
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_si2157_cmd_execute
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_5:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_dev_dbg
	jmp	LBB0_6
LBB0_3:
	leaq	8(%r12), %rdi
	movq	_si2157_ops@GOTPCREL(%rip), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r14, (%r12)
	movq	(%rbx), %rax
	movq	_SI2157_CHIPTYPE_SI2141@GOTPCREL(%rip), %rcx
	movq	_SI2157_CHIPTYPE_SI2146@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	leaq	L_.str.3(%rip), %rdx
	leaq	L_.str.4(%rip), %rsi
	cmoveq	%rdx, %rsi
	cmpq	(%rcx), %rax
	leaq	L_.str.2(%rip), %rdx
	cmovneq	%rsi, %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	xorl	%r15d, %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kzalloc() failed\n"

	.comm	_si2157_stat_work,4,2           ## @si2157_stat_work
	.comm	_si2157_ops,4,2                 ## @si2157_ops
L_.str.1:                               ## @.str.1
	.asciz	"Silicon Labs %s successfully attached\n"

	.comm	_SI2157_CHIPTYPE_SI2141,8,3     ## @SI2157_CHIPTYPE_SI2141
L_.str.2:                               ## @.str.2
	.asciz	"Si2141"

	.comm	_SI2157_CHIPTYPE_SI2146,8,3     ## @SI2157_CHIPTYPE_SI2146
L_.str.3:                               ## @.str.3
	.asciz	"Si2146"

L_.str.4:                               ## @.str.4
	.asciz	"Si2147/2148/2157/2158"

L_.str.5:                               ## @.str.5
	.asciz	"failed=%d\n"

	.comm	_KBUILD_MODNAME,4,2             ## @KBUILD_MODNAME
	.comm	_MEDIA_ENT_F_TUNER,4,2          ## @MEDIA_ENT_F_TUNER
	.comm	_MEDIA_PAD_FL_SINK,8,3          ## @MEDIA_PAD_FL_SINK
	.comm	_MEDIA_PAD_FL_SOURCE,8,3        ## @MEDIA_PAD_FL_SOURCE
	.comm	_PAD_SIGNAL_ANALOG,8,3          ## @PAD_SIGNAL_ANALOG
	.comm	_PAD_SIGNAL_AUDIO,8,3           ## @PAD_SIGNAL_AUDIO
	.comm	_SI2157_NUM_PADS,4,2            ## @SI2157_NUM_PADS
	.comm	_SI2157_PAD_AUD_OUT,8,3         ## @SI2157_PAD_AUD_OUT
	.comm	_SI2157_PAD_RF_INPUT,8,3        ## @SI2157_PAD_RF_INPUT
	.comm	_SI2157_PAD_VID_OUT,8,3         ## @SI2157_PAD_VID_OUT
	.no_dead_strip	_si2157_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si2157_probe
_si2157_probe:                          ; @si2157_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x1
	mov	x19, x0
	ldr	x23, [x0]
	ldr	x22, [x23, #16]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #64
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
	ldr	x8, [x23, #16]
	str	x8, [x20, #56]
	ldr	d0, [x23, #8]
	str	d0, [x20, #48]
	ldr	x8, [x21]
	str	x8, [x20]
	mov	w8, #19264
	movk	w8, #76, lsl #16
	str	w8, [x20, #8]
	add	x0, x20, #44
	bl	_mutex_init
	add	x0, x20, #40
Lloh3:
	adrp	x8, _si2157_stat_work@GOTPAGE
Lloh4:
	ldr	x8, [x8, _si2157_stat_work@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	str	xzr, [sp, #8]
	mov	w8, #1
	str	w8, [sp]
	mov	x1, sp
	mov	x0, x19
	bl	_si2157_cmd_execute
	mov	x21, x0
	cbz	w0, LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_kfree
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w21, w8
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_4:
Lloh11:
	adrp	x1, l_.str.5@PAGE
Lloh12:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_dbg
	b	LBB0_6
LBB0_5:
	add	x0, x22, #8
Lloh13:
	adrp	x1, _si2157_ops@GOTPAGE
Lloh14:
	ldr	x1, [x1, _si2157_ops@GOTPAGEOFF]
	mov	w2, #4
	bl	_memcpy
	str	x19, [x22]
	ldr	x8, [x20]
Lloh15:
	adrp	x9, _SI2157_CHIPTYPE_SI2141@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SI2157_CHIPTYPE_SI2141@GOTPAGEOFF]
Lloh17:
	adrp	x10, _SI2157_CHIPTYPE_SI2146@GOTPAGE
Lloh18:
	ldr	x10, [x10, _SI2157_CHIPTYPE_SI2146@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
Lloh20:
	ldr	x10, [x10]
Lloh21:
	adrp	x11, l_.str.4@PAGE
Lloh22:
	add	x11, x11, l_.str.4@PAGEOFF
Lloh23:
	adrp	x12, l_.str.3@PAGE
Lloh24:
	add	x12, x12, l_.str.3@PAGEOFF
	cmp	x8, x10
	csel	x10, x12, x11, eq
Lloh25:
	adrp	x11, l_.str.2@PAGE
Lloh26:
	add	x11, x11, l_.str.2@PAGEOFF
	cmp	x8, x9
	csel	x2, x11, x10, eq
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_info
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kzalloc() failed\n"

	.comm	_si2157_stat_work,4,2           ; @si2157_stat_work
	.comm	_si2157_ops,4,2                 ; @si2157_ops
l_.str.1:                               ; @.str.1
	.asciz	"Silicon Labs %s successfully attached\n"

	.comm	_SI2157_CHIPTYPE_SI2141,8,3     ; @SI2157_CHIPTYPE_SI2141
l_.str.2:                               ; @.str.2
	.asciz	"Si2141"

	.comm	_SI2157_CHIPTYPE_SI2146,8,3     ; @SI2157_CHIPTYPE_SI2146
l_.str.3:                               ; @.str.3
	.asciz	"Si2146"

l_.str.4:                               ; @.str.4
	.asciz	"Si2147/2148/2157/2158"

l_.str.5:                               ; @.str.5
	.asciz	"failed=%d\n"

	.comm	_KBUILD_MODNAME,4,2             ; @KBUILD_MODNAME
	.comm	_MEDIA_ENT_F_TUNER,4,2          ; @MEDIA_ENT_F_TUNER
	.comm	_MEDIA_PAD_FL_SINK,8,3          ; @MEDIA_PAD_FL_SINK
	.comm	_MEDIA_PAD_FL_SOURCE,8,3        ; @MEDIA_PAD_FL_SOURCE
	.comm	_PAD_SIGNAL_ANALOG,8,3          ; @PAD_SIGNAL_ANALOG
	.comm	_PAD_SIGNAL_AUDIO,8,3           ; @PAD_SIGNAL_AUDIO
	.comm	_SI2157_NUM_PADS,4,2            ; @SI2157_NUM_PADS
	.comm	_SI2157_PAD_AUD_OUT,8,3         ; @SI2157_PAD_AUD_OUT
	.comm	_SI2157_PAD_RF_INPUT,8,3        ; @SI2157_PAD_RF_INPUT
	.comm	_SI2157_PAD_VID_OUT,8,3         ; @SI2157_PAD_VID_OUT
	.no_dead_strip	_si2157_probe
.subsections_via_symbols
