	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_rbu_packet_size
_read_rbu_packet_size:                  ## @read_rbu_packet_size
	.cfi_startproc
## %bb.0:
	testl	%r8d, %r8d
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	retq
LBB0_1:
	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	%r9, %r14
	movq	%rcx, %rbx
	movq	_rbu_data@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movl	4(%r15), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_scnprintf
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_spin_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rbu_data,8,2                   ## @rbu_data
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%lu\n"

	.no_dead_strip	_read_rbu_packet_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_rbu_packet_size
_read_rbu_packet_size:                  ; @read_rbu_packet_size
	.cfi_startproc
; %bb.0:
	cbz	w4, LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	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
	mov	x19, x5
	mov	x20, x3
Lloh0:
	adrp	x21, _rbu_data@GOTPAGE
Lloh1:
	ldr	x21, [x21, _rbu_data@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_lock
	ldr	w3, [x21, #4]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_scnprintf
	mov	x19, x0
	mov	x0, x21
	bl	_spin_unlock
	mov	x0, x19
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_rbu_data,8,2                   ; @rbu_data
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%lu\n"

	.no_dead_strip	_read_rbu_packet_size
.subsections_via_symbols
