	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_acpi_notify
_i2c_acpi_notify:                       ## @i2c_acpi_notify
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	cmpq	$128, %rsi
	je	LBB0_5
## %bb.1:
	cmpq	$129, %rsi
	jne	LBB0_8
## %bb.2:
	leaq	-16(%rbp), %rsi
	leaq	-20(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_i2c_acpi_get_info
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movl	-20(%rbp), %edi
	callq	_i2c_acpi_find_adapter_by_handle
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	leaq	-16(%rbp), %rdx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_i2c_acpi_register_device
	jmp	LBB0_8
LBB0_5:
	movq	%rbx, %rdi
	callq	_acpi_device_enumerated
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	_i2c_acpi_find_client_by_adev
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_i2c_unregister_device
	movq	%rbx, %rdi
	callq	_put_device
LBB0_8:
	movq	_NOTIFY_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NOTIFY_OK,4,2                  ## @NOTIFY_OK
	.no_dead_strip	_i2c_acpi_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_acpi_notify
_i2c_acpi_notify:                       ; @i2c_acpi_notify
	.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	x19, x2
	cmp	x1, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	x1, #129
	b.ne	LBB0_8
; %bb.2:
	add	x1, sp, #8
	add	x3, sp, #4
	mov	x0, x19
	mov	x2, #0
	bl	_i2c_acpi_get_info
	cbnz	w0, LBB0_8
; %bb.3:
	ldr	w0, [sp, #4]
	bl	_i2c_acpi_find_adapter_by_handle
	cbz	x0, LBB0_8
; %bb.4:
	add	x2, sp, #8
	mov	x1, x19
	bl	_i2c_acpi_register_device
	b	LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_acpi_device_enumerated
	cbz	w0, LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_i2c_acpi_find_client_by_adev
	cbz	x0, LBB0_8
; %bb.7:
	mov	x19, x0
	bl	_i2c_unregister_device
	mov	x0, x19
	bl	_put_device
LBB0_8:
Lloh0:
	adrp	x8, _NOTIFY_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NOTIFY_OK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_NOTIFY_OK,4,2                  ; @NOTIFY_OK
	.no_dead_strip	_i2c_acpi_notify
.subsections_via_symbols
