	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gdrom_command_interrupt
_gdrom_command_interrupt:               ## @gdrom_command_interrupt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_GDROM_STATUSCOMMAND_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ctrl_inb
	movq	_gd@GOTPCREL(%rip), %rcx
	movl	%eax, 4(%rcx)
	cmpl	$1, (%rcx)
	jne	LBB0_2
## %bb.1:
	movl	$0, (%rcx)
	movq	_command_queue@GOTPCREL(%rip), %rdi
	callq	_wake_up_interruptible
LBB0_2:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GDROM_STATUSCOMMAND_REG,4,2    ## @GDROM_STATUSCOMMAND_REG
	.comm	_gd,8,2                         ## @gd
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_command_queue,4,2              ## @command_queue
	.no_dead_strip	_gdrom_command_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gdrom_command_interrupt
_gdrom_command_interrupt:               ; @gdrom_command_interrupt
	.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
Lloh0:
	adrp	x8, _GDROM_STATUSCOMMAND_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GDROM_STATUSCOMMAND_REG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ctrl_inb
Lloh3:
	adrp	x8, _gd@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gd@GOTPAGEOFF]
	str	w0, [x8, #4]
	ldr	w9, [x8]
	cmp	w9, #1
	b.ne	LBB0_2
; %bb.1:
	str	wzr, [x8]
Lloh5:
	adrp	x0, _command_queue@GOTPAGE
Lloh6:
	ldr	x0, [x0, _command_queue@GOTPAGEOFF]
	bl	_wake_up_interruptible
LBB0_2:
Lloh7:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_GDROM_STATUSCOMMAND_REG,4,2    ; @GDROM_STATUSCOMMAND_REG
	.comm	_gd,8,2                         ; @gd
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_command_queue,4,2              ; @command_queue
	.no_dead_strip	_gdrom_command_interrupt
.subsections_via_symbols
