	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_send_key
_setup_send_key:                        ## @setup_send_key
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_GPCMD_SEND_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%rdi), %rax
	movl	%ecx, (%rax)
	shll	$6, %esi
	orl	%edx, %esi
	movl	%esi, 40(%rax)
	cmpl	$1, %edx
	je	LBB0_4
## %bb.1:
	cmpl	$3, %edx
	je	LBB0_5
## %bb.2:
	cmpl	$6, %edx
	jne	LBB0_3
## %bb.6:
	movl	$8, 8(%rdi)
	movl	$8, %ecx
	jmp	LBB0_7
LBB0_4:
	movl	$16, 8(%rdi)
	movl	$16, %ecx
	jmp	LBB0_7
LBB0_5:
	movl	$12, 8(%rdi)
	movl	$12, %ecx
	jmp	LBB0_7
LBB0_3:
	movl	8(%rdi), %ecx
LBB0_7:
	movl	%ecx, 36(%rax)
	movq	_CGC_DATA_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GPCMD_SEND_KEY,4,2             ## @GPCMD_SEND_KEY
	.comm	_CGC_DATA_WRITE,4,2             ## @CGC_DATA_WRITE
	.no_dead_strip	_setup_send_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_send_key
_setup_send_key:                        ; @setup_send_key
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _GPCMD_SEND_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPCMD_SEND_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	ldr	x8, [x0]
	str	w9, [x8]
	orr	w9, w2, w1, lsl #6
	str	w9, [x8, #40]
	cmp	w2, #1
	b.eq	LBB0_4
; %bb.1:
	cmp	w2, #3
	b.eq	LBB0_5
; %bb.2:
	cmp	w2, #6
	b.ne	LBB0_7
; %bb.3:
	mov	w9, #8
	b	LBB0_6
LBB0_4:
	mov	w9, #16
	b	LBB0_6
LBB0_5:
	mov	w9, #12
LBB0_6:
	str	w9, [x0, #8]
	b	LBB0_8
LBB0_7:
	ldr	w9, [x0, #8]
LBB0_8:
	str	w9, [x8, #36]
Lloh3:
	adrp	x8, _CGC_DATA_WRITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CGC_DATA_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #12]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GPCMD_SEND_KEY,4,2             ; @GPCMD_SEND_KEY
	.comm	_CGC_DATA_WRITE,4,2             ; @CGC_DATA_WRITE
	.no_dead_strip	_setup_send_key
.subsections_via_symbols
