	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ide_cd_error_cmd
_ide_cd_error_cmd:                      ## @ide_cd_error_cmd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %edx
	subl	4(%rsi), %edx
	movq	_IDE_TFLAG_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rsi)
	je	LBB0_2
## %bb.1:
	subl	16(%rsi), %edx
LBB0_2:
	testl	%edx, %edx
	je	LBB0_3
## %bb.4:
	movq	_BLK_STS_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ide_complete_rq
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDE_TFLAG_WRITE,4,2            ## @IDE_TFLAG_WRITE
	.comm	_BLK_STS_OK,4,2                 ## @BLK_STS_OK
	.no_dead_strip	_ide_cd_error_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ide_cd_error_cmd
_ide_cd_error_cmd:                      ; @ide_cd_error_cmd
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldp	w8, w9, [x1]
	sub	w2, w8, w9
	ldr	w8, [x1, #8]
Lloh0:
	adrp	x9, _IDE_TFLAG_WRITE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IDE_TFLAG_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x1, #16]
	sub	w2, w2, w8
LBB0_2:
	cbz	w2, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _BLK_STS_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BLK_STS_OK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ide_complete_rq
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IDE_TFLAG_WRITE,4,2            ; @IDE_TFLAG_WRITE
	.comm	_BLK_STS_OK,4,2                 ; @BLK_STS_OK
	.no_dead_strip	_ide_cd_error_cmd
.subsections_via_symbols
