	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function of_bus_isa_map
_of_bus_isa_map:                        ## @of_bus_isa_map
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r13
	movl	(%rsi), %ebx
	xorl	(%rdi), %ebx
	movl	$1, %edi
	callq	_cpu_to_be32
	testl	%eax, %ebx
	je	LBB0_2
LBB0_1:
	movq	_OF_BAD_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	4(%r14), %rdi
	leal	-1(%r15), %ebx
	movl	%ebx, %esi
	callq	_of_read_number
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movslq	%r15d, %rax
	leaq	(%r14,%rax,4), %rax
	movslq	%r12d, %rcx
	leaq	(%rax,%rcx,4), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_of_read_number
	movq	%rax, %r15
	addq	$4, %r13
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_of_read_number
	movq	%rax, %r14
	leaq	L_.str(%rip), %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	%rax, %rcx
	callq	_pr_debug
	movq	%r14, %rax
	subq	%rbx, %rax
	jl	LBB0_1
## %bb.3:
	addq	%rbx, %r15
	cmpq	%r15, %r14
	jl	LBB0_4
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_OF_BAD_ADDR,8,3                ## @OF_BAD_ADDR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ISA map, cp=%llx, s=%llx, da=%llx\n"

	.no_dead_strip	_of_bus_isa_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function of_bus_isa_map
_of_bus_isa_map:                        ; @of_bus_isa_map
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x4
	mov	x20, x3
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	ldr	w8, [x0]
	ldr	w9, [x1]
	eor	w21, w9, w8
	mov	w0, #1
	bl	_cpu_to_be32
	tst	w21, w0
	b.eq	LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _OF_BAD_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OF_BAD_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_3:
	add	x0, x24, #4
	sub	w25, w23, #1
	mov	x1, x25
	bl	_of_read_number
	mov	x21, x0
	add	x8, x24, w23, sxtw #2
	add	x0, x8, w22, sxtw #2
	mov	x1, x20
	bl	_of_read_number
	mov	x20, x0
	add	x0, x19, #4
	mov	x1, x25
	bl	_of_read_number
	mov	x19, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_pr_debug
	subs	x0, x19, x21
	b.lt	LBB0_1
; %bb.4:
	add	x8, x20, x21
	cmp	x19, x8
	b.lt	LBB0_2
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_OF_BAD_ADDR,8,3                ; @OF_BAD_ADDR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ISA map, cp=%llx, s=%llx, da=%llx\n"

	.no_dead_strip	_of_bus_isa_map
.subsections_via_symbols
