	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cocoa_input_free
_cocoa_input_free:                      ## @cocoa_input_free
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	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
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	*(%rcx)
LBB0_3:
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	*(%rcx)
LBB0_5:
	movq	_MAX_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:
	movq	_apple_key_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$3, %rsi
	callq	___bzero
LBB0_7:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_8:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_KEYS,4,2                   ## @MAX_KEYS
	.comm	_apple_key_state,8,3            ## @apple_key_state
	.no_dead_strip	_cocoa_input_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cocoa_input_free
_cocoa_input_free:                      ; @cocoa_input_free
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_8
; %bb.1:
	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	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x8]
	blr	x8
LBB0_3:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x8]
	blr	x8
LBB0_5:
Lloh0:
	adrp	x8, _MAX_KEYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_KEYS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_7
; %bb.6:
Lloh3:
	adrp	x9, _apple_key_state@GOTPAGE
Lloh4:
	ldr	x9, [x9, _apple_key_state@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x9]
	lsl	x1, x8, #3
	bl	_bzero
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
LBB0_8:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_KEYS,4,2                   ; @MAX_KEYS
	.comm	_apple_key_state,8,3            ; @apple_key_state
	.no_dead_strip	_cocoa_input_free
.subsections_via_symbols
