	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_of_find_i2c_adapter_by_node    ## -- Begin function of_find_i2c_adapter_by_node
	.p2align	4, 0x90
_of_find_i2c_adapter_by_node:           ## @of_find_i2c_adapter_by_node
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rdx
	movq	_of_dev_or_parent_node_match@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_i2c_bus_type@GOTPCREL(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_bus_find_device
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_i2c_verify_adapter
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_put_device
	xorl	%ebx, %ebx
LBB0_3:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_i2c_bus_type,4,2               ## @i2c_bus_type
	.comm	_of_dev_or_parent_node_match,4,2 ## @of_dev_or_parent_node_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_of_find_i2c_adapter_by_node    ; -- Begin function of_find_i2c_adapter_by_node
	.p2align	2
_of_find_i2c_adapter_by_node:           ; @of_find_i2c_adapter_by_node
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x2, x0
Lloh0:
	adrp	x8, _of_dev_or_parent_node_match@GOTPAGE
Lloh1:
	ldr	x8, [x8, _of_dev_or_parent_node_match@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x0, _i2c_bus_type@GOTPAGE
Lloh4:
	ldr	x0, [x0, _i2c_bus_type@GOTPAGEOFF]
	mov	x1, #0
	bl	_bus_find_device
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_i2c_verify_adapter
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_put_device
	mov	x0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_i2c_bus_type,4,2               ; @i2c_bus_type
	.comm	_of_dev_or_parent_node_match,4,2 ; @of_dev_or_parent_node_match
.subsections_via_symbols
