	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function io_read24
_io_read24:                             ## @io_read24
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_io_read
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_6
## %bb.1:
	leaq	1(%rbx), %rsi
	movq	%r15, %rdi
	callq	_io_read
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	addq	$2, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_io_read
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	shll	$8, %r12d
	shll	$16, %r14d
	orl	%r12d, %r14d
	orl	%eax, %r14d
	jmp	LBB0_6
LBB0_2:
	movl	%r12d, %r14d
	jmp	LBB0_6
LBB0_4:
	movl	%eax, %r14d
LBB0_6:
	movslq	%r14d, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_io_read24
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function io_read24
_io_read24:                             ; @io_read24
	.cfi_startproc
; %bb.0:
	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	x21, x1
	mov	x20, x0
	bl	_io_read
	mov	x19, x0
	tbnz	w0, #31, LBB0_4
; %bb.1:
	add	x1, x21, #1
	mov	x0, x20
	bl	_io_read
	mov	x22, x0
	tbnz	w0, #31, LBB0_3
; %bb.2:
	add	x1, x21, #2
	mov	x0, x20
	bl	_io_read
	lsl	w8, w22, #8
	orr	w8, w8, w19, lsl #16
	orr	w8, w8, w0
	tst	w0, #0x80000000
	csel	w19, w0, w8, ne
	b	LBB0_4
LBB0_3:
	mov	x19, x22
LBB0_4:
	sxtw	x0, w19
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_io_read24
.subsections_via_symbols
