	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_rbu_mono_data
_read_rbu_mono_data:                    ## @read_rbu_mono_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%esi, -4(%rbp)
	movq	_rbu_data@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	testq	%r8, %r8
	je	LBB0_2
## %bb.3:
	leaq	-4(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_memory_read_from_buffer
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movq	%rcx, %rsi
	movq	%r8, %rdx
	callq	_pr_debug
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rbu_data,16,3                  ## @rbu_data
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read_rbu_data_mono: image_update_buffer %p ,bios_image_size %lu\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_read_rbu_mono_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_rbu_mono_data
_read_rbu_mono_data:                    ; @read_rbu_mono_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	stur	w1, [x29, #-4]
Lloh0:
	adrp	x9, _rbu_data@GOTPAGE
Lloh1:
	ldr	x9, [x9, _rbu_data@GOTPAGEOFF]
	ldp	x4, x3, [x9]
	cmp	x3, #0
	ccmp	x4, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x3
	mov	x2, x4
	bl	_pr_debug
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x8, x2
	sub	x2, x29, #4
	mov	x1, x8
	bl	_memory_read_from_buffer
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_rbu_data,16,3                  ; @rbu_data
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read_rbu_data_mono: image_update_buffer %p ,bios_image_size %lu\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_read_rbu_mono_data
.subsections_via_symbols
