	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lgdt3306a_probe
_lgdt3306a_probe:                       ## @lgdt3306a_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	%rdi, %r12
	movl	(%rdi), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$40, %esi
	callq	_kmemdup
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movl	8(%r12), %eax
	movl	%eax, 32(%r14)
	movl	4(%r12), %esi
	movq	%r14, %rdi
	callq	_lgdt3306a_attach
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	movq	8(%rax), %rsi
	movq	%r12, %rdi
	callq	_i2c_set_clientdata
	movq	8(%r15), %r13
	movq	$0, 24(%r13)
	movl	4(%r12), %edi
	movq	_I2C_MUX_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_lgdt3306a_select@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_lgdt3306a_deselect@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	xorl	%ebx, %ebx
	movq	%r12, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_i2c_mux_alloc
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_5
## %bb.9:
	movq	%r12, 8(%rax)
	xorl	%r13d, %r13d
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_i2c_mux_add_adapter
	movl	%eax, %ebx
	testl	%eax, %eax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_6
## %bb.10:
	movq	$0, (%r15)
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movq	16(%r14), %rcx
	movl	%eax, (%rcx)
	movq	(%r14), %rax
	movq	%r15, (%rax)
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_info
	jmp	LBB0_11
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_3:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_6:
	callq	_kfree
LBB0_7:
	movq	%r14, %rdi
	callq	_kfree
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_dev_warn
	movl	%ebx, %r13d
LBB0_11:
	movl	%r13d, %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
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_I2C_MUX_LOCKED,4,2             ## @I2C_MUX_LOCKED
	.comm	_lgdt3306a_select,4,2           ## @lgdt3306a_select
	.comm	_lgdt3306a_deselect,4,2         ## @lgdt3306a_deselect
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LG Electronics LGDT3306A successfully identified\n"

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

	.no_dead_strip	_lgdt3306a_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lgdt3306a_probe
_lgdt3306a_probe:                       ; @lgdt3306a_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
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #40
	bl	_kmemdup
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	ldp	w1, w8, [x19, #4]
	str	w8, [x0, #32]
	bl	_lgdt3306a_attach
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x0
	ldr	x1, [x0, #8]
	mov	x0, x19
	bl	_i2c_set_clientdata
	ldr	x22, [x21, #8]
	str	xzr, [x22, #24]
	ldr	w0, [x19, #4]
Lloh3:
	adrp	x8, _I2C_MUX_LOCKED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I2C_MUX_LOCKED@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
Lloh6:
	adrp	x8, _lgdt3306a_select@GOTPAGE
Lloh7:
	ldr	x8, [x8, _lgdt3306a_select@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
Lloh9:
	adrp	x8, _lgdt3306a_deselect@GOTPAGE
Lloh10:
	ldr	x8, [x8, _lgdt3306a_deselect@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
	mov	x1, x19
	mov	w2, #1
	mov	w3, #0
	bl	_i2c_mux_alloc
	str	x0, [x22, #8]
	cbz	x0, LBB0_7
; %bb.3:
	str	x19, [x0, #8]
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	bl	_i2c_mux_add_adapter
	mov	x23, x0
	cbnz	w0, LBB0_8
; %bb.4:
	str	xzr, [x21]
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	ldr	x9, [x20, #16]
	str	w8, [x9]
	ldr	x8, [x20]
	str	x21, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	b	LBB0_11
LBB0_5:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_10
LBB0_6:
Lloh17:
	adrp	x8, _ENODEV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_9
LBB0_7:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_8:
	mov	x0, x22
	bl	_kfree
LBB0_9:
	mov	x0, x20
	bl	_kfree
LBB0_10:
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	bl	_dev_warn
LBB0_11:
	mov	x0, x23
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_I2C_MUX_LOCKED,4,2             ; @I2C_MUX_LOCKED
	.comm	_lgdt3306a_select,4,2           ; @lgdt3306a_select
	.comm	_lgdt3306a_deselect,4,2         ; @lgdt3306a_deselect
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LG Electronics LGDT3306A successfully identified\n"

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

	.no_dead_strip	_lgdt3306a_probe
.subsections_via_symbols
