	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OF_decode_addr                 ## -- Begin function OF_decode_addr
	.p2align	4, 0x90
_OF_decode_addr:                        ## @OF_decode_addr
	.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
	movq	%r8, %rbx
	movq	%rcx, %r14
	movq	%rdx, %r15
	leaq	-32(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	xorl	%r8d, %r8d
	callq	_ofw_reg_to_paddr
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	_memmap_bus@GOTPCREL(%rip), %rax
	movq	%rax, (%r15)
	movl	-28(%rbp), %edx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movl	%edx, (%rbx)
LBB0_3:
	movl	-32(%rbp), %esi
	movq	_memmap_bus@GOTPCREL(%rip), %rdi
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_bus_space_map
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_memmap_bus,4,2                 ## @memmap_bus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OF_decode_addr                 ; -- Begin function OF_decode_addr
	.p2align	2
_OF_decode_addr:                        ; @OF_decode_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x4
	mov	x19, x3
	mov	x21, x2
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x4, #0
	bl	_ofw_reg_to_paddr
	cbnz	w0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _memmap_bus@GOTPAGE
Lloh1:
	ldr	x8, [x8, _memmap_bus@GOTPAGEOFF]
	str	x8, [x21]
	ldr	w2, [sp, #8]
	cbz	x20, LBB0_3
; %bb.2:
	str	w2, [x20]
LBB0_3:
	ldr	w1, [sp, #12]
Lloh2:
	adrp	x0, _memmap_bus@GOTPAGE
Lloh3:
	ldr	x0, [x0, _memmap_bus@GOTPAGEOFF]
	mov	w3, #0
	mov	x4, x19
	bl	_bus_space_map
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_memmap_bus,4,2                 ; @memmap_bus
.subsections_via_symbols
