	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdrom_is_media_inserted        ## -- Begin function cdrom_is_media_inserted
	.p2align	4, 0x90
_cdrom_is_media_inserted:               ## @cdrom_is_media_inserted
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movw	$0, -4(%rbp)
	movl	$0, -8(%rbp)
	movq	_DIRECTION_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, (%rsp)
	leaq	-8(%rbp), %r8
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$6, %r9d
	callq	_cdrom_send_command
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	%ecx, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIRECTION_NONE,4,2             ## @DIRECTION_NONE
	.comm	_stdout,4,2                     ## @stdout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdrom_is_media_inserted        ; -- Begin function cdrom_is_media_inserted
	.p2align	2
_cdrom_is_media_inserted:               ; @cdrom_is_media_inserted
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	strh	wzr, [sp, #12]
	str	wzr, [sp, #8]
Lloh0:
	adrp	x8, _DIRECTION_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIRECTION_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x4, sp, #8
	mov	x2, #0
	mov	w3, #0
	mov	w5, #6
	mov	w6, #0
	bl	_cdrom_send_command
	cmp	w0, #0
	cset	w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DIRECTION_NONE,4,2             ; @DIRECTION_NONE
	.comm	_stdout,4,2                     ; @stdout
.subsections_via_symbols
