	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpc85xx_jog_devcompat
_mpc85xx_jog_devcompat:                 ## @mpc85xx_jog_devcompat
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_.str(%rip), %rdi
	callq	_OF_finddevice
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.1:
	movl	%eax, %r15d
	movq	_jog_compat@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	callq	_ofw_bus_find_compatible
	testq	%rax, %rax
	jg	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rax
	movq	8(%rax,%rbx,8), %rsi
	incq	%rbx
	testq	%rsi, %rsi
	jne	LBB0_3
	jmp	LBB0_6
LBB0_4:
	movq	(%r14), %rax
LBB0_6:
	movl	%ebx, %ecx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_8
## %bb.7:
	leaq	(%rax,%rcx,8), %rax
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/soc"

	.comm	_jog_compat,8,3                 ## @jog_compat
	.no_dead_strip	_mpc85xx_jog_devcompat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpc85xx_jog_devcompat
_mpc85xx_jog_devcompat:                 ; @mpc85xx_jog_devcompat
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_OF_finddevice
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.1:
Lloh2:
	adrp	x20, _jog_compat@GOTPAGE
Lloh3:
	ldr	x20, [x20, _jog_compat@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x1, [x8]
	cbz	x1, LBB0_8
; %bb.2:
	mov	x19, x0
	mov	x21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_ofw_bus_find_compatible
	cmp	x0, #1
	b.ge	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x21, #1
	ldr	x8, [x20]
	add	x10, x8, x21, lsl #3
	ldr	x1, [x10, #8]
	mov	x21, x9
	cbnz	x1, LBB0_3
; %bb.5:
	mov	x21, x9
	b	LBB0_7
LBB0_6:
	ldr	x8, [x20]
LBB0_7:
	add	x0, x8, w21, uxtw #3
	ldr	x8, [x0]
	cbnz	x8, LBB0_9
LBB0_8:
	mov	x0, #0
LBB0_9:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/soc"

	.comm	_jog_compat,8,3                 ; @jog_compat
	.no_dead_strip	_mpc85xx_jog_devcompat
.subsections_via_symbols
