	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dln2_i2c_probe
_dln2_i2c_probe:                        ## @dln2_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	%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, %r14
	callq	_dev_get_platdata
	movq	%rax, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	$72, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	_DLN2_I2C_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_devm_kmalloc
	movl	%eax, 64(%r12)
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	%r14, 56(%r12)
	movl	(%r15), %eax
	movl	%eax, (%r12)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	8(%r12), %r15
	movl	%eax, 52(%r12)
	movq	_I2C_CLASS_HWMON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r12)
	movq	_dln2_i2c_usb_algorithm@GOTPCREL(%rip), %rax
	movq	%rax, 40(%r12)
	movq	_dln2_i2c_quirks@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r12)
	movq	%r12, %rbx
	addq	$16, %rbx
	movq	%r14, 24(%r12)
	movq	%r14, %rdi
	callq	_ACPI_COMPANION
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ACPI_COMPANION_SET
	movl	4(%r14), %eax
	movl	%eax, 16(%r12)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_i2c_set_adapdata
	movl	8(%r12), %ebx
	movl	(%r14), %edi
	callq	_dev_name
	movl	(%r12), %r9d
	leaq	L_.str(%rip), %rdx
	leaq	L_.str.1(%rip), %rcx
	movl	%ebx, %edi
	movl	$4, %esi
	movq	%rax, %r8
	callq	_snprintf
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_platform_set_drvdata
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_dln2_i2c_enable
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	callq	_i2c_add_adapter
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jns	LBB0_7
## %bb.6:
	movl	%eax, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_dln2_i2c_enable
	movl	%r14d, %ebx
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_DLN2_I2C_BUF_SIZE,4,2          ## @DLN2_I2C_BUF_SIZE
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_I2C_CLASS_HWMON,4,2            ## @I2C_CLASS_HWMON
	.comm	_dln2_i2c_usb_algorithm,4,2     ## @dln2_i2c_usb_algorithm
	.comm	_dln2_i2c_quirks,4,2            ## @dln2_i2c_quirks
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s-%s-%d"

L_.str.1:                               ## @.str.1
	.asciz	"dln2-i2c"

L_.str.2:                               ## @.str.2
	.asciz	"failed to initialize adapter: %d\n"

	.no_dead_strip	_dln2_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dln2_i2c_probe
_dln2_i2c_probe:                        ; @dln2_i2c_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
	bl	_dev_get_platdata
	mov	x21, x0
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #72
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh2:
	adrp	x8, _DLN2_I2C_BUF_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DLN2_I2C_BUF_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_devm_kmalloc
	str	w0, [x20, #64]
	cbz	w0, LBB0_5
; %bb.2:
	str	x19, [x20, #56]
	ldr	w8, [x21]
	str	w8, [x20]
Lloh5:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _I2C_CLASS_HWMON@GOTPAGE
Lloh9:
	ldr	x9, [x9, _I2C_CLASS_HWMON@GOTPAGEOFF]
	add	x21, x20, #8
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #48]
Lloh11:
	adrp	x8, _dln2_i2c_usb_algorithm@GOTPAGE
Lloh12:
	ldr	x8, [x8, _dln2_i2c_usb_algorithm@GOTPAGEOFF]
	str	x8, [x20, #40]
Lloh13:
	adrp	x8, _dln2_i2c_quirks@GOTPAGE
Lloh14:
	ldr	x8, [x8, _dln2_i2c_quirks@GOTPAGEOFF]
	add	x22, x20, #16
	stp	x19, x8, [x20, #24]
	mov	x0, x19
	bl	_ACPI_COMPANION
	mov	x1, x0
	mov	x0, x22
	bl	_ACPI_COMPANION_SET
	ldr	w8, [x19, #4]
	str	w8, [x20, #16]
	mov	x0, x21
	mov	x1, x20
	bl	_i2c_set_adapdata
	ldr	w22, [x20, #8]
	ldr	w0, [x19]
	bl	_dev_name
	mov	x4, x0
	ldr	w5, [x20]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
Lloh17:
	adrp	x3, l_.str.1@PAGE
Lloh18:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	w1, #4
	bl	_snprintf
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x20
	mov	w1, #1
	bl	_dln2_i2c_enable
	tbnz	w0, #31, LBB0_7
; %bb.3:
	mov	x0, x21
	bl	_i2c_add_adapter
	tbnz	w0, #31, LBB0_8
; %bb.4:
	mov	w22, #0
	b	LBB0_6
LBB0_5:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_6:
	mov	x0, x22
	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_7:
	mov	x22, x0
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_dev_err
	b	LBB0_6
LBB0_8:
	mov	x22, x0
	mov	x0, x20
	mov	w1, #0
	bl	_dln2_i2c_enable
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_DLN2_I2C_BUF_SIZE,4,2          ; @DLN2_I2C_BUF_SIZE
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_I2C_CLASS_HWMON,4,2            ; @I2C_CLASS_HWMON
	.comm	_dln2_i2c_usb_algorithm,4,2     ; @dln2_i2c_usb_algorithm
	.comm	_dln2_i2c_quirks,4,2            ; @dln2_i2c_quirks
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s-%s-%d"

l_.str.1:                               ; @.str.1
	.asciz	"dln2-i2c"

l_.str.2:                               ; @.str.2
	.asciz	"failed to initialize adapter: %d\n"

	.no_dead_strip	_dln2_i2c_probe
.subsections_via_symbols
