	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function cdrom_read_block
LCPI0_0:
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_cdrom_read_block:                      ## @cdrom_read_block
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movl	%r8d, %r14d
	movl	%ecx, %ebx
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_GPCMD_READ_CD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%r15), %rax
	movl	%ecx, (%rax)
	shll	$2, %r14d
	movl	%r14d, 4(%rax)
	movl	%r13d, %ecx
	shrl	$24, %ecx
	movl	%ecx, 8(%rax)
	movl	%r13d, %ecx
	shrl	$16, %ecx
	movl	%r13d, %edx
	shrl	$8, %edx
	movl	%ebx, %esi
	shrl	$16, %ebx
	movd	%ecx, %xmm0
	pinsrd	$1, %edx, %xmm0
	pinsrd	$2, %r13d, %xmm0
	pinsrd	$3, %ebx, %xmm0
	pand	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, 12(%rax)
	movl	%esi, %edx
	movzbl	%dh, %ecx
	movl	%ecx, 28(%rax)
	movzbl	%dl, %ecx
	movl	%ecx, 32(%rax)
	imull	%r12d, %edx
	movl	%edx, 8(%r15)
	addl	$-128, %r12d
	movl	$16, %ecx
	cmpl	$2, %r12d
	ja	LBB0_2
## %bb.1:
	movslq	%r12d, %rcx
	leaq	l_switch.table.cdrom_read_block(%rip), %rdx
	movl	(%rdx,%rcx,4), %ecx
LBB0_2:
	movl	%ecx, 36(%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GPCMD_READ_CD,4,2              ## @GPCMD_READ_CD
	.no_dead_strip	_cdrom_read_block
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.cdrom_read_block
l_switch.table.cdrom_read_block:
	.long	120                             ## 0x78
	.long	88                              ## 0x58
	.long	248                             ## 0xf8

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function cdrom_read_block
lCPI0_0:
	.long	4294967280                      ; 0xfffffff0
	.long	4294967288                      ; 0xfffffff8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_cdrom_read_block:                      ; @cdrom_read_block
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x25, [x0]
	mov	x0, x1
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh0:
	adrp	x8, _GPCMD_READ_CD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPCMD_READ_CD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	ldr	x8, [x19]
	lsl	w10, w22, #2
	stp	w9, w10, [x8]
	lsr	w9, w24, #24
	str	w9, [x8, #8]
	dup.2s	v0, w24
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	movi	d2, #0x0000ff000000ff
	and.8b	v0, v0, v2
	stur	d0, [x8, #12]
	and	w9, w24, #0xff
	str	w9, [x8, #20]
	dup.2s	v0, w23
	ushl.2s	v0, v0, v1
	and.8b	v0, v0, v2
	str	d0, [x8, #24]
	and	w9, w23, #0xff
	str	w9, [x8, #32]
	mul	w9, w21, w23
	str	w9, [x19, #8]
	sub	w9, w21, #128
	cmp	w9, #2
	b.hi	LBB0_2
; %bb.1:
Lloh5:
	adrp	x10, l_switch.table.cdrom_read_block@PAGE
Lloh6:
	add	x10, x10, l_switch.table.cdrom_read_block@PAGEOFF
	ldr	w9, [x10, w9, sxtw #2]
	b	LBB0_3
LBB0_2:
	mov	w9, #16
LBB0_3:
	str	w9, [x8, #36]
	ldr	x2, [x25]
	mov	x0, x20
	mov	x1, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	br	x2
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GPCMD_READ_CD,4,2              ; @GPCMD_READ_CD
	.no_dead_strip	_cdrom_read_block
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.cdrom_read_block
l_switch.table.cdrom_read_block:
	.long	120                             ; 0x78
	.long	88                              ; 0x58
	.long	248                             ; 0xf8

.subsections_via_symbols
