	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_buf
_read_buf:                              ## @read_buf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %rdi
	popq	%rbp
	jmp	_hb_bd_read                     ## TAILCALL
LBB0_1:
	movq	(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.5:
	popq	%rbp
	jmp	_hb_dvd_read                    ## TAILCALL
LBB0_2:
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.6:
	movq	%rsi, %rdi
	popq	%rbp
	jmp	_hb_stream_read                 ## TAILCALL
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_read_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_buf
_read_buf:                              ; @read_buf
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_2
; %bb.1:
	b	_hb_bd_read
LBB0_2:
	ldr	x0, [x8]
	cbz	x0, LBB0_4
; %bb.3:
	b	_hb_dvd_read
LBB0_4:
	cbz	x1, LBB0_6
; %bb.5:
	mov	x0, x1
	b	_hb_stream_read
LBB0_6:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_read_buf
.subsections_via_symbols
