	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdrom_do_block_pc
_cdrom_do_block_pc:                     ## @cdrom_do_block_pc
	.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, %r14
	movq	_IDE_DBG_PC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rsi), %rax
	movl	(%rax), %edx
	movl	12(%rsi), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_ide_debug_log
	movq	%rbx, %rdi
	callq	_blk_rq_is_scsi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_RQF_QUIET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rbx)
	jmp	LBB0_3
LBB0_2:
	movq	_RQF_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%rbx)
LBB0_3:
	movl	$0, (%r14)
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.4:
	movq	8(%r14), %r12
	callq	_bio_data
	movq	%rax, %r15
	movq	_IDE_DFLAG_USING_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	4(%r14), %eax
	setne	%cl
	movl	%ecx, (%r14)
	movq	%r12, %rdi
	callq	_queue_dma_alignment
	orl	(%r12), %eax
	testl	%r15d, %eax
	jne	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_blk_rq_bytes
	testl	%eax, (%r12)
	jne	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_object_is_on_stack
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	movl	$0, (%r14)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDE_DBG_PC,4,2                 ## @IDE_DBG_PC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rq->cmd[0]: 0x%x, rq->cmd_type: 0x%x"

	.comm	_RQF_QUIET,4,2                  ## @RQF_QUIET
	.comm	_RQF_FAILED,4,2                 ## @RQF_FAILED
	.comm	_IDE_DFLAG_USING_DMA,4,2        ## @IDE_DFLAG_USING_DMA
	.no_dead_strip	_cdrom_do_block_pc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdrom_do_block_pc
_cdrom_do_block_pc:                     ; @cdrom_do_block_pc
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _IDE_DBG_PC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDE_DBG_PC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x1, #16]
	ldr	w2, [x8]
	ldr	w3, [x1, #12]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ide_debug_log
	mov	x0, x20
	bl	_blk_rq_is_scsi
	cbz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _RQF_QUIET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RQF_QUIET@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x20, #8]
	orr	w8, w9, w8
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _RQF_FAILED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RQF_FAILED@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x20, #8]
	bic	w8, w9, w8
LBB0_3:
	str	w8, [x20, #8]
	str	wzr, [x19]
	ldr	x0, [x20]
	cbz	x0, LBB0_8
; %bb.4:
	ldr	x22, [x19, #8]
	bl	_bio_data
	mov	x21, x0
	ldr	w8, [x19, #4]
Lloh11:
	adrp	x9, _IDE_DFLAG_USING_DMA@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IDE_DFLAG_USING_DMA@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w8, ne
	str	w8, [x19]
	mov	x0, x22
	bl	_queue_dma_alignment
	ldr	w8, [x22]
	orr	w8, w8, w0
	tst	x8, x21
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_blk_rq_bytes
	ldr	w8, [x22]
	tst	w8, w0
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x21
	bl	_object_is_on_stack
	cbz	x0, LBB0_8
LBB0_7:
	str	wzr, [x19]
LBB0_8:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IDE_DBG_PC,4,2                 ; @IDE_DBG_PC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rq->cmd[0]: 0x%x, rq->cmd_type: 0x%x"

	.comm	_RQF_QUIET,4,2                  ; @RQF_QUIET
	.comm	_RQF_FAILED,4,2                 ; @RQF_FAILED
	.comm	_IDE_DFLAG_USING_DMA,4,2        ; @IDE_DFLAG_USING_DMA
	.no_dead_strip	_cdrom_do_block_pc
.subsections_via_symbols
