	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nubus_proc_rsrc_show
_nubus_proc_rsrc_show:                  ## @nubus_proc_rsrc_show
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r12
	movq	%r12, %rdi
	callq	_PDE_DATA
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %rax
	cmpq	(%r15), %rax
	jle	LBB0_3
## %bb.2:
	movq	_EFBIG@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_7
LBB0_3:
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%r12, %rdi
	callq	_proc_get_parent_data
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movl	%eax, -56(%rbp)
	movq	8(%rbx), %rax
	movq	%rax, -40(%rbp)
	movq	$0, -48(%rbp)
	movq	(%rbx), %rdx
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_nubus_seq_write_rsrc_mem
	jmp	LBB0_7
LBB0_6:
	movl	8(%rbx), %ebx
	movl	%ebx, %esi
	shrl	$16, %esi
	movq	%r15, %rdi
	callq	_seq_putc
	movl	%ebx, %esi
	shrl	$8, %esi
	movq	%r15, %rdi
	callq	_seq_putc
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_seq_putc
LBB0_7:
	movl	%r14d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EFBIG,4,2                      ## @EFBIG
	.no_dead_strip	_nubus_proc_rsrc_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nubus_proc_rsrc_show
_nubus_proc_rsrc_show:                  ; @nubus_proc_rsrc_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	ldr	x21, [x0, #8]
	mov	x0, x21
	bl	_PDE_DATA
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x9, [x19]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _EFBIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFBIG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_3:
	cbz	x8, LBB0_6
; %bb.4:
	mov	x0, x21
	bl	_proc_get_parent_data
	cbz	w0, LBB0_8
; %bb.5:
	str	w0, [sp, #8]
	ldr	x8, [x20, #8]
	stp	xzr, x8, [sp, #16]
	ldr	x2, [x20]
	add	x1, sp, #8
	mov	x0, x19
	bl	_nubus_seq_write_rsrc_mem
	b	LBB0_7
LBB0_6:
	ldr	w20, [x20, #8]
	lsr	w1, w20, #16
	mov	x0, x19
	bl	_seq_putc
	lsr	w1, w20, #8
	mov	x0, x19
	bl	_seq_putc
	mov	x0, x19
	mov	x1, x20
	bl	_seq_putc
LBB0_7:
	mov	w0, #0
LBB0_8:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EFBIG,4,2                      ; @EFBIG
	.no_dead_strip	_nubus_proc_rsrc_show
.subsections_via_symbols
