	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gc_close
_gc_close:                              ## @gc_close
	.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
	callq	_input_get_drvdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_mutex_lock
	decl	20(%rbx)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_del_timer_sync
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_parport_write_control
	movq	8(%rbx), %rdi
	callq	_parport_release
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gc_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gc_close
_gc_close:                              ; @gc_close
	.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
	bl	_input_get_drvdata
	mov	x19, x0
	bl	_mutex_lock
	ldr	w8, [x19, #20]
	subs	w8, w8, #1
	str	w8, [x19, #20]
	b.ne	LBB0_2
; %bb.1:
	add	x0, x19, #16
	bl	_del_timer_sync
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	mov	w1, #0
	bl	_parport_write_control
	ldr	x0, [x19, #8]
	bl	_parport_release
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gc_close
.subsections_via_symbols
