	.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	(%rsi), %rcx
	movq	24(%rsi), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_ide_debug_log
	movq	(%rbx), %rax
	movq	_REQ_TYPE_BLOCK_PC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_REQ_QUIET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%rbx)
	jmp	LBB0_3
LBB0_2:
	movq	_REQ_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 16(%rbx)
LBB0_3:
	movl	$0, (%r14)
	movq	8(%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	_REQ_TYPE_BLOCK_PC,8,3          ## @REQ_TYPE_BLOCK_PC
	.comm	_REQ_QUIET,4,2                  ## @REQ_QUIET
	.comm	_REQ_FAILED,4,2                 ## @REQ_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, #24]
	ldr	w2, [x8]
	ldr	x3, [x1]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ide_debug_log
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _REQ_TYPE_BLOCK_PC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _REQ_TYPE_BLOCK_PC@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _REQ_QUIET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REQ_QUIET@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x20, #16]
	orr	w8, w9, w8
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _REQ_FAILED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REQ_FAILED@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x20, #16]
	bic	w8, w9, w8
LBB0_3:
	str	w8, [x20, #16]
	str	wzr, [x19]
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_8
; %bb.4:
	ldr	x22, [x19, #8]
	bl	_bio_data
	mov	x21, x0
	ldr	w8, [x19, #4]
Lloh14:
	adrp	x9, _IDE_DFLAG_USING_DMA@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IDE_DFLAG_USING_DMA@GOTPAGEOFF]
Lloh16:
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.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	_REQ_TYPE_BLOCK_PC,8,3          ; @REQ_TYPE_BLOCK_PC
	.comm	_REQ_QUIET,4,2                  ; @REQ_QUIET
	.comm	_REQ_FAILED,4,2                 ; @REQ_FAILED
	.comm	_IDE_DFLAG_USING_DMA,4,2        ; @IDE_DFLAG_USING_DMA
	.no_dead_strip	_cdrom_do_block_pc
.subsections_via_symbols
