	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function atapi_read_toc
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	20                              ## 0x14
LCPI0_1:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	1                               ## 0x1
LCPI0_2:
	.long	20                              ## 0x14
	.long	0                               ## 0x0
	.long	162                             ## 0xa2
	.long	0                               ## 0x0
LCPI0_3:
	.long	1                               ## 0x1
	.long	20                              ## 0x14
	.long	0                               ## 0x0
	.long	1                               ## 0x1
LCPI0_4:
	.long	0                               ## 0x0
	.long	20                              ## 0x14
	.long	1                               ## 0x1
	.long	0                               ## 0x0
LCPI0_5:
	.long	0                               ## 0x0
	.long	20                              ## 0x14
	.long	170                             ## 0xaa
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_atapi_read_toc:                        ## @atapi_read_toc
	.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	$232, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r13d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	284(%rdx), %rdi
	callq	_be16dec
	movl	%eax, %r12d
	movl	292(%r14), %eax
	sarl	$6, %eax
	cmpl	$2, %eax
	je	LBB0_19
## %bb.1:
	cmpl	$1, %eax
	je	LBB0_18
## %bb.2:
	testl	%eax, %eax
	jne	LBB0_27
## %bb.3:
	movl	260(%r14), %edx
	movl	280(%r14), %eax
	cmpl	$2, %eax
	jl	LBB0_9
## %bb.4:
	cmpl	$170, %eax
	je	LBB0_9
## %bb.5:
	movq	_ATA_SENSE_ILLEGAL_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, (%r15)
	movl	$36, 4(%r15)
	shll	$12, %ecx
	movq	_ATA_S_READY@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_ATA_S_ERROR@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	16(%r14), %eax
	andl	$-8, %eax
	movq	_ATA_I_CMD@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movq	_ATA_I_IN@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, 16(%r14)
	jmp	LBB0_6
LBB0_18:
	leaq	-256(%rbp), %rdi
	movl	$48, %ebx
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movabsq	$4294967306, %rax               ## imm = 0x10000000A
	movq	%rax, -252(%rbp)
	movl	$1, -244(%rbp)
	cmpl	$48, %r12d
	cmovbl	%r12d, %ebx
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	%r14, %rdx
	leaq	-256(%rbp), %rcx
	movl	%ebx, %r8d
	callq	_write_prdt
	movl	16(%r14), %eax
	andl	$-8, %eax
	movq	_ATA_I_CMD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ATA_I_IN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 16(%r14)
	movq	_ATA_S_READY@GOTPCREL(%rip), %rax
	movq	_ATA_S_DSC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
LBB0_6:
	movq	%r15, %rdi
	movl	%r13d, %esi
	jmp	LBB0_7
LBB0_19:
	movl	%r13d, -260(%rbp)               ## 4-byte Spill
	movl	260(%r14), %r13d
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,1,1,20]
	movups	%xmm0, -248(%rbp)
	movabsq	$687194767360, %rax             ## imm = 0xA000000000
	movq	%rax, -232(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -224(%rbp)
	movaps	LCPI0_1(%rip), %xmm1            ## xmm1 = [1,0,0,1]
	movaps	%xmm1, -208(%rbp)
	movq	$20, -192(%rbp)
	movl	$161, -184(%rbp)
	movups	%xmm0, -180(%rbp)
	movups	%xmm1, -164(%rbp)
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [20,0,162,0]
	movups	%xmm0, -148(%rbp)
	movq	$0, -132(%rbp)
	movl	8(%r15), %edi
	callq	_blockif_size
	movl	%eax, %ebx
	movl	8(%r15), %edi
	callq	_blockif_sectsz
	movl	%eax, %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	sarl	$2, %eax
	testb	$2, %r13b
	jne	LBB0_20
## %bb.21:
	leaq	-124(%rbp), %rdi
	movl	%eax, %esi
	callq	_be32enc
	jmp	LBB0_22
LBB0_27:
	movq	_ATA_SENSE_ILLEGAL_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, (%r15)
	movl	$36, 4(%r15)
	shll	$12, %ecx
	movq	_ATA_S_READY@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_ATA_S_ERROR@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	16(%r14), %eax
	andl	$-8, %eax
	movq	_ATA_I_CMD@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movq	_ATA_I_IN@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, 16(%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.28:
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	%r14, %rdx
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ahci_write_fis_d2h             ## TAILCALL
LBB0_9:
	shrl	%edx
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, -248(%rbp)
	cmpl	$1, %eax
	movl	%r13d, -260(%rbp)               ## 4-byte Spill
	movl	%edx, -264(%rbp)                ## 4-byte Spill
	jg	LBB0_10
## %bb.11:
	movaps	LCPI0_4(%rip), %xmm0            ## xmm0 = [0,20,1,0]
	movaps	%xmm0, -240(%rbp)
	testb	$1, %dl
	jne	LBB0_12
## %bb.13:
	leaq	-224(%rbp), %rax
	leaq	-208(%rbp), %r13
	xorps	%xmm0, %xmm0
	movaps	%xmm0, (%rax)
	jmp	LBB0_14
LBB0_20:
	leaq	-120(%rbp), %rdi
	movl	$0, -124(%rbp)
	movl	%eax, %esi
	callq	_lba_to_msf
LBB0_22:
	movaps	LCPI0_3(%rip), %xmm0            ## xmm0 = [1,20,0,1]
	movups	%xmm0, -108(%rbp)
	movq	$0, -92(%rbp)
	movl	$0, -84(%rbp)
	testb	$2, %r13b
	jne	LBB0_23
## %bb.24:
	leaq	-80(%rbp), %rax
	xorps	%xmm0, %xmm0
	movaps	%xmm0, (%rax)
	jmp	LBB0_25
LBB0_23:
	leaq	-76(%rbp), %rdi
	movl	$0, -80(%rbp)
	xorl	%esi, %esi
	callq	_lba_to_msf
LBB0_25:
	leaq	-256(%rbp), %r13
	movq	%r13, %rdi
	movl	$46, %esi
	callq	_be16enc
	cmpl	$48, %r12d
	movl	$48, %r8d
	cmovll	%r12d, %r8d
	movq	%r15, %rdi
	movl	-260(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %esi
	movq	%r14, %rdx
	movq	%r13, %rcx
	jmp	LBB0_26
LBB0_10:
	leaq	-240(%rbp), %r13
	jmp	LBB0_14
LBB0_12:
	leaq	-220(%rbp), %rdi
	movl	$0, -224(%rbp)
	xorl	%esi, %esi
	callq	_lba_to_msf
	leaq	-208(%rbp), %r13
LBB0_14:
	movaps	LCPI0_5(%rip), %xmm0            ## xmm0 = [0,20,170,0]
	movups	%xmm0, (%r13)
	movl	8(%r15), %edi
	callq	_blockif_size
	movl	%eax, %ebx
	movl	8(%r15), %edi
	callq	_blockif_sectsz
	movl	%eax, %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	sarl	$2, %eax
	testb	$1, -264(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_15
## %bb.16:
	leaq	16(%r13), %rdi
	movl	%eax, %esi
	callq	_be32enc
	jmp	LBB0_17
LBB0_15:
	leaq	20(%r13), %rdi
	movl	$0, 16(%r13)
	movl	%eax, %esi
	callq	_lba_to_msf
LBB0_17:
	leaq	-256(%rbp), %rdi
	subq	%rdi, %r13
	addq	$32, %r13
	shrq	$2, %r13
	leal	-2(%r13), %esi
	callq	_be16enc
	cmpl	%r13d, %r12d
	cmovll	%r12d, %r13d
	movq	%r15, %rdi
	movl	-260(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %esi
	movq	%r14, %rdx
	leaq	-256(%rbp), %rcx
	movl	%r13d, %r8d
LBB0_26:
	callq	_write_prdt
	movl	16(%r14), %eax
	andl	$-8, %eax
	movq	_ATA_I_CMD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_ATA_I_IN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 16(%r14)
	movq	_ATA_S_READY@GOTPCREL(%rip), %rax
	movq	_ATA_S_DSC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
LBB0_7:
	movq	%r14, %rdx
	callq	_ahci_write_fis_d2h
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.29:
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_SENSE_ILLEGAL_REQUEST,8,3  ## @ATA_SENSE_ILLEGAL_REQUEST
	.comm	_ATA_S_READY,4,2                ## @ATA_S_READY
	.comm	_ATA_S_ERROR,4,2                ## @ATA_S_ERROR
	.comm	_ATA_I_CMD,4,2                  ## @ATA_I_CMD
	.comm	_ATA_I_IN,4,2                   ## @ATA_I_IN
	.comm	_ATA_S_DSC,4,2                  ## @ATA_S_DSC
	.no_dead_strip	_atapi_read_toc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function atapi_read_toc
lCPI0_0:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	20                              ; 0x14
lCPI0_2:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	1                               ; 0x1
lCPI0_4:
	.long	20                              ; 0x14
	.long	0                               ; 0x0
	.long	162                             ; 0xa2
	.long	0                               ; 0x0
lCPI0_5:
	.long	1                               ; 0x1
	.long	20                              ; 0x14
	.long	0                               ; 0x0
	.long	1                               ; 0x1
lCPI0_7:
	.long	0                               ; 0x0
	.long	20                              ; 0x14
	.long	1                               ; 0x1
	.long	0                               ; 0x0
lCPI0_8:
	.long	0                               ; 0x0
	.long	20                              ; 0x14
	.long	170                             ; 0xaa
	.long	0                               ; 0x0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_1:
	.long	0                               ; 0x0
	.long	160                             ; 0xa0
lCPI0_3:
	.long	20                              ; 0x14
	.long	0                               ; 0x0
lCPI0_6:
	.long	10                              ; 0xa
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_atapi_read_toc:                        ; @atapi_read_toc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x28, x27, [sp, #208]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #224]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #240]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #256]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	x0, x2, #284
	bl	_be16dec
	mov	x22, x0
	ldr	w8, [x19, #292]
	asr	w8, w8, #6
	cmp	w8, #2
	b.eq	LBB0_7
; %bb.1:
	cmp	w8, #1
	b.eq	LBB0_6
; %bb.2:
	cbnz	w8, LBB0_9
; %bb.3:
	ldr	w25, [x19, #260]
	ldr	w9, [x19, #280]
	cmp	w9, #2
	b.lt	LBB0_11
; %bb.4:
	cmp	w9, #170
	b.eq	LBB0_11
; %bb.5:
Lloh3:
	adrp	x8, _ATA_SENSE_ILLEGAL_REQUEST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATA_SENSE_ILLEGAL_REQUEST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #36
Lloh6:
	adrp	x10, _ATA_S_READY@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ATA_S_READY@GOTPAGEOFF]
	stp	w8, w9, [x21]
Lloh8:
	ldr	w9, [x10]
	orr	w8, w9, w8, lsl #12
Lloh9:
	adrp	x9, _ATA_S_ERROR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ATA_S_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w3, w8, w9
	ldr	w8, [x19, #16]
	and	w8, w8, #0xfffffff8
Lloh12:
	adrp	x9, _ATA_I_CMD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ATA_I_CMD@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _ATA_I_IN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ATA_I_IN@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #16]
	b	LBB0_26
LBB0_6:
	mov	w23, #48
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
Lloh18:
	adrp	x8, lCPI0_6@PAGE
Lloh19:
	ldr	d0, [x8, lCPI0_6@PAGEOFF]
	stur	d0, [sp, #4]
	mov	w8, #1
	str	w8, [sp, #12]
	cmp	w22, #48
	csel	w4, w22, w23, lo
	b	LBB0_25
LBB0_7:
	ldr	w24, [x19, #260]
Lloh20:
	adrp	x8, lCPI0_0@PAGE
Lloh21:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [sp, #8]
Lloh22:
	adrp	x8, lCPI0_1@PAGE
Lloh23:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	str	d0, [sp, #24]
	stp	xzr, xzr, [sp, #32]
Lloh24:
	adrp	x8, lCPI0_2@PAGE
Lloh25:
	ldr	q0, [x8, lCPI0_2@PAGEOFF]
	str	q0, [sp, #48]
Lloh26:
	adrp	x8, lCPI0_3@PAGE
Lloh27:
	ldr	d1, [x8, lCPI0_3@PAGEOFF]
	str	d1, [sp, #64]
	mov	w8, #161
	str	w8, [sp, #72]
	stur	xzr, [sp, #84]
	stur	xzr, [sp, #76]
	stur	q0, [sp, #92]
Lloh28:
	adrp	x8, lCPI0_4@PAGE
Lloh29:
	ldr	q0, [x8, lCPI0_4@PAGEOFF]
	stur	q0, [sp, #108]
	mov	x25, sp
	stp	wzr, wzr, [sp, #124]
	ldr	w0, [x21, #8]
	bl	_blockif_size
	mov	x23, x0
	ldr	w0, [x21, #8]
	bl	_blockif_sectsz
	sdiv	w8, w23, w0
	asr	w1, w8, #2
	tbnz	w24, #1, LBB0_14
; %bb.8:
	add	x0, x25, #132
	bl	_be32enc
	b	LBB0_15
LBB0_9:
Lloh30:
	adrp	x8, _ATA_SENSE_ILLEGAL_REQUEST@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ATA_SENSE_ILLEGAL_REQUEST@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	mov	w9, #36
	stp	w8, w9, [x21]
Lloh33:
	adrp	x9, _ATA_S_READY@GOTPAGE
Lloh34:
	ldr	x9, [x9, _ATA_S_READY@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
Lloh36:
	adrp	x10, _ATA_S_ERROR@GOTPAGE
Lloh37:
	ldr	x10, [x10, _ATA_S_ERROR@GOTPAGEOFF]
Lloh38:
	ldr	w10, [x10]
	ldr	w11, [x19, #16]
	and	w11, w11, #0xfffffff8
Lloh39:
	adrp	x12, _ATA_I_CMD@GOTPAGE
Lloh40:
	ldr	x12, [x12, _ATA_I_CMD@GOTPAGEOFF]
Lloh41:
	ldr	w12, [x12]
	orr	w11, w11, w12
Lloh42:
	adrp	x12, _ATA_I_IN@GOTPAGE
Lloh43:
	ldr	x12, [x12, _ATA_I_IN@GOTPAGEOFF]
Lloh44:
	ldr	w12, [x12]
	orr	w11, w11, w12
	str	w11, [x19, #16]
	ldur	x11, [x29, #-88]
Lloh45:
	adrp	x12, ___stack_chk_guard@GOTPAGE
Lloh46:
	ldr	x12, [x12, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
	ldr	x12, [x12]
	cmp	x12, x11
	b.ne	LBB0_28
; %bb.10:
	orr	w8, w9, w8, lsl #12
	orr	w3, w8, w10
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #256]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #240]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #224]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #304
	b	_ahci_write_fis_d2h
LBB0_11:
	mov	x8, sp
	movi.2s	v0, #1
	str	d0, [sp, #8]
	cmp	w9, #1
	b.gt	LBB0_19
; %bb.12:
Lloh48:
	adrp	x9, lCPI0_7@PAGE
Lloh49:
	ldr	q0, [x9, lCPI0_7@PAGEOFF]
	str	q0, [sp, #16]
	tbnz	w25, #1, LBB0_20
; %bb.13:
	mov	x9, sp
	add	x26, x9, #48
	stp	xzr, xzr, [x8, #32]!
	b	LBB0_21
LBB0_14:
	add	x0, x25, #136
	str	wzr, [sp, #132]
	bl	_lba_to_msf
LBB0_15:
Lloh50:
	adrp	x8, lCPI0_5@PAGE
Lloh51:
	ldr	q0, [x8, lCPI0_5@PAGEOFF]
	stur	q0, [sp, #148]
	str	xzr, [sp, #168]
	str	wzr, [sp, #164]
	mov	x8, sp
	tbnz	w24, #1, LBB0_17
; %bb.16:
	stp	xzr, xzr, [x8, #176]!
	b	LBB0_18
LBB0_17:
	add	x0, x8, #180
	str	wzr, [sp, #176]
	mov	w1, #0
	bl	_lba_to_msf
LBB0_18:
	mov	x0, sp
	mov	w1, #46
	bl	_be16enc
	mov	w8, #48
	cmp	w22, #48
	csel	w4, w22, w8, lt
	b	LBB0_25
LBB0_19:
	add	x26, x8, #16
	b	LBB0_21
LBB0_20:
	mov	x23, sp
	add	x0, x23, #36
	str	wzr, [sp, #32]
	mov	w1, #0
	bl	_lba_to_msf
	add	x26, x23, #48
LBB0_21:
Lloh52:
	adrp	x8, lCPI0_8@PAGE
Lloh53:
	ldr	q0, [x8, lCPI0_8@PAGEOFF]
	mov	x23, x26
	str	q0, [x23], #16
	ldr	w0, [x21, #8]
	bl	_blockif_size
	mov	x24, x0
	ldr	w0, [x21, #8]
	bl	_blockif_sectsz
	sdiv	w8, w24, w0
	asr	w1, w8, #2
	tbnz	w25, #1, LBB0_23
; %bb.22:
	mov	x0, x23
	bl	_be32enc
	b	LBB0_24
LBB0_23:
	add	x0, x26, #20
	str	wzr, [x26, #16]
	bl	_lba_to_msf
LBB0_24:
	mov	x8, sp
	sub	x8, x26, x8
	add	x8, x8, #32
	lsr	x23, x8, #2
	sub	w1, w23, #2
	mov	x0, sp
	bl	_be16enc
	cmp	w22, w23
	csel	w4, w22, w23, lt
LBB0_25:
	mov	x3, sp
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_write_prdt
	ldr	w8, [x19, #16]
	and	w8, w8, #0xfffffff8
Lloh54:
	adrp	x9, _ATA_I_CMD@GOTPAGE
Lloh55:
	ldr	x9, [x9, _ATA_I_CMD@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh57:
	adrp	x9, _ATA_I_IN@GOTPAGE
Lloh58:
	ldr	x9, [x9, _ATA_I_IN@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh60:
	adrp	x9, _ATA_S_READY@GOTPAGE
Lloh61:
	ldr	x9, [x9, _ATA_S_READY@GOTPAGEOFF]
	str	w8, [x19, #16]
Lloh62:
	ldr	w8, [x9]
Lloh63:
	adrp	x9, _ATA_S_DSC@GOTPAGE
Lloh64:
	ldr	x9, [x9, _ATA_S_DSC@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	orr	w3, w9, w8
LBB0_26:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_ahci_write_fis_d2h
	ldur	x8, [x29, #-88]
Lloh66:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh67:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh68:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #256]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #240]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #224]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpLdr	Lloh28, Lloh29
	.loh AdrpLdr	Lloh26, Lloh27
	.loh AdrpAdrp	Lloh24, Lloh26
	.loh AdrpLdr	Lloh24, Lloh25
	.loh AdrpAdrp	Lloh22, Lloh24
	.loh AdrpLdr	Lloh22, Lloh23
	.loh AdrpAdrp	Lloh20, Lloh22
	.loh AdrpLdr	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdr	Lloh48, Lloh49
	.loh AdrpLdr	Lloh50, Lloh51
	.loh AdrpLdr	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_ATA_SENSE_ILLEGAL_REQUEST,8,3  ; @ATA_SENSE_ILLEGAL_REQUEST
	.comm	_ATA_S_READY,4,2                ; @ATA_S_READY
	.comm	_ATA_S_ERROR,4,2                ; @ATA_S_ERROR
	.comm	_ATA_I_CMD,4,2                  ; @ATA_I_CMD
	.comm	_ATA_I_IN,4,2                   ; @ATA_I_IN
	.comm	_ATA_S_DSC,4,2                  ; @ATA_S_DSC
	.no_dead_strip	_atapi_read_toc
.subsections_via_symbols
