	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdt_node_offset_by_phandle     ## -- Begin function fdt_node_offset_by_phandle
	.p2align	4, 0x90
_fdt_node_offset_by_phandle:            ## @fdt_node_offset_by_phandle
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $esi killed $esi def $rsi
	leal	1(%rsi), %eax
	cmpl	$1, %eax
	ja	LBB0_2
## %bb.1:
	movq	_FDT_ERR_BADPHANDLE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_cpu_to_fdt32
	movl	%eax, -12(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-12(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$-1, %esi
	movl	$4, %r8d
	callq	_fdt_node_offset_by_prop_value
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FDT_ERR_BADPHANDLE,4,2         ## @FDT_ERR_BADPHANDLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"linux,phandle"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdt_node_offset_by_phandle     ; -- Begin function fdt_node_offset_by_phandle
	.p2align	2
_fdt_node_offset_by_phandle:            ; @fdt_node_offset_by_phandle
	.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
	add	w8, w1, #1
	cmp	w8, #1
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _FDT_ERR_BADPHANDLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FDT_ERR_BADPHANDLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x19, x0
	mov	x0, x1
	bl	_cpu_to_fdt32
	str	w0, [sp, #12]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x3, sp, #12
	mov	x0, x19
	mov	w1, #-1
	mov	w4, #4
	bl	_fdt_node_offset_by_prop_value
LBB0_3:
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FDT_ERR_BADPHANDLE,4,2         ; @FDT_ERR_BADPHANDLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"linux,phandle"

.subsections_via_symbols
