	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_floppy_change
_check_floppy_change:                   ## @check_floppy_change
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	movq	_unit@GOTPCREL(%rip), %rax
	subq	(%rax), %rbx
	shrq	$2, %rbx
	movq	_fake_change@GOTPCREL(%rip), %rsi
	movl	%ebx, %edi
	callq	_test_bit
	movl	$1, %r14d
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	_changed_floppies@GOTPCREL(%rip), %rsi
	movl	%ebx, %edi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_UD@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpq	$0, (%rax)
	setne	%r14b
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_unit,8,3                       ## @unit
	.comm	_fake_change,4,2                ## @fake_change
	.comm	_changed_floppies,4,2           ## @changed_floppies
	.comm	_UD,8,3                         ## @UD
	.no_dead_strip	_check_floppy_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_floppy_change
_check_floppy_change:                   ; @check_floppy_change
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _unit@GOTPAGE
Lloh1:
	ldr	x9, [x9, _unit@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	sub	x8, x8, x9
	lsr	x19, x8, #2
Lloh3:
	adrp	x1, _fake_change@GOTPAGE
Lloh4:
	ldr	x1, [x1, _fake_change@GOTPAGEOFF]
	mov	x0, x19
	bl	_test_bit
	cbnz	x0, LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, _changed_floppies@GOTPAGE
Lloh6:
	ldr	x1, [x1, _changed_floppies@GOTPAGEOFF]
	mov	x0, x19
	bl	_test_bit
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh7:
	adrp	x8, _UD@GOTPAGE
Lloh8:
	ldr	x8, [x8, _UD@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_3
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_unit,8,3                       ; @unit
	.comm	_fake_change,4,2                ; @fake_change
	.comm	_changed_floppies,4,2           ; @changed_floppies
	.comm	_UD,8,3                         ; @UD
	.no_dead_strip	_check_floppy_change
.subsections_via_symbols
