	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ide_cd_breathe
_ide_cd_breathe:                        ## @ide_cd_breathe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rcx
	cmpl	$0, (%rsi)
	je	LBB0_2
## %bb.1:
	movq	(%rcx), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_jiffies@GOTPCREL(%rip), %rdx
	movq	_ATAPI_WAIT_WRITE_BUSY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	(%rdx), %rax
	movq	%rax, (%rcx)
LBB0_3:
	movl	$1, (%rsi)
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	%rax, %rsi
	callq	_time_after
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_5
## %bb.4:
	movq	(%rbx), %rbx
	movl	(%rbx), %edi
	callq	_spin_lock_irqsave
	movq	%rbx, %rdi
	callq	_blk_plug_device
	movl	(%rbx), %edi
	callq	_spin_unlock_irqrestore
	movl	$1, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_ATAPI_WAIT_WRITE_BUSY,8,3      ## @ATAPI_WAIT_WRITE_BUSY
	.no_dead_strip	_ide_cd_breathe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ide_cd_breathe
_ide_cd_breathe:                        ; @ide_cd_breathe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x10, [x0, #8]
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _jiffies@GOTPAGE
Lloh1:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x8, [x10]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x9]
Lloh2:
	adrp	x11, _ATAPI_WAIT_WRITE_BUSY@GOTPAGE
Lloh3:
	ldr	x11, [x11, _ATAPI_WAIT_WRITE_BUSY@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x11]
	add	x8, x11, x8
	str	x8, [x10]
LBB0_3:
	mov	w10, #1
	str	w10, [x1]
	ldr	x0, [x9]
	mov	x1, x8
	bl	_time_after
	cbz	x0, LBB0_5
; %bb.4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	ldr	x19, [x19]
	ldr	w0, [x19]
	bl	_spin_lock_irqsave
	mov	x0, x19
	bl	_blk_plug_device
	ldr	w0, [x19]
	bl	_spin_unlock_irqrestore
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_ATAPI_WAIT_WRITE_BUSY,8,3      ; @ATAPI_WAIT_WRITE_BUSY
	.no_dead_strip	_ide_cd_breathe
.subsections_via_symbols
