	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_execute_keyboard_layout_mapping ## -- Begin function execute_keyboard_layout_mapping
	.p2align	4, 0x90
_execute_keyboard_layout_mapping:       ## @execute_keyboard_layout_mapping
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	xorl	%eax, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	movl	%esi, -116(%rbp)                ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movl	(%rdi,%r15,4), %eax
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	movslq	%edx, %rcx
	movl	%eax, -112(%rbp,%rcx,4)
	incl	%edx
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	incl	%r15d
	movl	%r15d, %r13d
LBB0_25:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-116(%rbp), %esi                ## 4-byte Reload
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%esi, %r13d
	jge	LBB0_27
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movl	%esi, %edi
	subl	%r13d, %edi
	movl	$4, %esi
	callq	_MIN
	movslq	%r13d, %r15
	testl	%eax, %eax
	jle	LBB0_21
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r14d
	xorl	%eax, %eax
	cmpl	$1, %r14d
	movl	%r13d, -140(%rbp)               ## 4-byte Spill
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
	xorl	%ecx, %ecx
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	movl	4(%rdx,%r15,4), %ecx
	cmpl	$3, %r14d
	jb	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rdx,%r15,4), %r13d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	12(%rdx,%r15,4), %eax
	jmp	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	shll	$8, %ecx
	shll	$16, %r13d
	shll	$24, %eax
	orl	%ecx, %eax
	orl	(%rdx,%r15,4), %r13d
	orl	%eax, %r13d
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r13d, %edi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	callq	_find_keyboard_layout_map
	cmpl	$-1, %eax
	jne	LBB0_12
## %bb.23:                              ##   in Loop: Header=BB0_11 Depth=2
	leal	-1(%r14), %eax
	cmpl	$1, %r14d
	movl	%eax, %r14d
	jg	LBB0_11
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movslq	%eax, %rcx
	movl	4(%rbx,%rcx,8), %r9d
	leal	-1(%r9), %edx
	cmpl	$3, %edx
	movl	-140(%rbp), %r13d               ## 4-byte Reload
	ja	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rbx,%rcx,8), %ecx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdx,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%cl, %ecx
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %edx
	jmp	LBB0_19
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movl	-116(%rbp), %esi                ## 4-byte Reload
	addl	%r14d, %r13d
	jmp	LBB0_26
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%cl, %r8d
	movq	-136(%rbp), %rax                ## 8-byte Reload
	leal	1(%rax), %edx
	movslq	%eax, %rdi
	movl	%r8d, -112(%rbp,%rdi,4)
	movzbl	%ch, %ecx
	jmp	LBB0_19
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%cl, %edx
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movslq	%eax, %r8
	movl	%edx, -112(%rbp,%r8,4)
	movzbl	%ch, %edi
	leal	2(%rax), %edx
	movl	%edi, -108(%rbp,%r8,4)
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	jmp	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%cl, %edx
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movslq	%eax, %rdi
	movl	%edx, -112(%rbp,%rdi,4)
	movzbl	%ch, %edx
	movl	%edx, -108(%rbp,%rdi,4)
	movl	%ecx, %edx
	shrl	$16, %edx
	movzbl	%dl, %r8d
	leal	3(%rdi), %edx
	movl	%r8d, -104(%rbp,%rdi,4)
	shrl	$24, %ecx
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movl	-116(%rbp), %esi                ## 4-byte Reload
	addl	%r9d, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movslq	%edx, %rax
	movl	%ecx, -112(%rbp,%rax,4)
	addl	%r14d, %r13d
	jmp	LBB0_26
LBB0_27:
	movaps	-112(%rbp), %xmm0
	movaps	-96(%rbp), %xmm1
	movaps	-80(%rbp), %xmm2
	movaps	-64(%rbp), %xmm3
	movq	-136(%rbp), %rax                ## 8-byte Reload
	jmp	LBB0_28
LBB0_1:
	xorl	%eax, %eax
	xorps	%xmm1, %xmm1
	xorps	%xmm2, %xmm2
	xorps	%xmm3, %xmm3
LBB0_28:
	movups	%xmm0, (%rdi)
	movups	%xmm1, 16(%rdi)
	movups	%xmm2, 32(%rdi)
	movups	%xmm3, 48(%rdi)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_30
## %bb.29:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_execute_keyboard_layout_mapping ; -- Begin function execute_keyboard_layout_mapping
	.p2align	2
_execute_keyboard_layout_mapping:       ; @execute_keyboard_layout_mapping
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #32]
	stp	q0, q0, [sp]
	cmp	w1, #1
	b.lt	LBB0_25
; %bb.1:
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	w20, #0
	mov	w26, #0
	mov	x27, sp
Lloh3:
	adrp	x28, lJTI0_0@PAGE
Lloh4:
	add	x28, x28, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, w26, sxtw #2]
	str	w8, [x27, w20, sxtw #2]
	add	w20, w20, #1
	add	w26, w26, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w26, w23
	b.ge	LBB0_24
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	sub	w0, w23, w26
	mov	w1, #4
	bl	_MIN
	mov	x24, x0
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w24, #1
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #0
	mov	w8, #0
	mov	w10, #0
	b	LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w24, LBB0_3
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x10, w26
	add	x9, x19, x10, lsl #2
	ldr	w8, [x9, #4]
	cmp	w24, #3
	b.lo	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x9, #8]
	cmp	w24, #3
	b.ne	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w10, #0
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #0
	mov	w10, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x19, x10, lsl #2
	ldr	w10, [x10, #12]
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x19, w26, sxtw #2]
	orr	w9, w11, w9, lsl #16
	orr	w8, w9, w8, lsl #8
	orr	w25, w8, w10, lsl #24
LBB0_14:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x25
	mov	x1, x24
	mov	x2, x22
	mov	x3, x21
	bl	_find_keyboard_layout_map
	cmn	w0, #1
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	subs	w24, w24, #1
	b.gt	LBB0_14
	b	LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x22, w0, sxtw #3
	ldr	w8, [x10, #4]
	sub	w9, w8, #1
	cmp	w9, #3
	b.hi	LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x10]
	adr	x11, LBB0_18
	ldrb	w12, [x28, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w10, w10, #0xff
	mov	x9, x20
	b	LBB0_22
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w11, w10, #0xff
	add	w9, w20, #1
	str	w11, [x27, w20, sxtw #2]
	ubfx	w10, w10, #8, #8
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w11, w10, #0xff
	add	x12, x27, w20, sxtw #2
	ubfx	w13, w10, #8, #8
	add	w9, w20, #2
	stp	w11, w13, [x12]
	ubfx	w10, w10, #16, #8
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	and	w9, w10, #0xff
	add	x11, x27, w20, sxtw #2
	ubfx	w12, w10, #8, #8
	stp	w9, w12, [x11]
	ubfx	w12, w10, #16, #8
	add	w9, w20, #3
	str	w12, [x11, #8]
	lsr	w10, w10, #24
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w20, w20, w8
	str	w10, [x27, w9, sxtw #2]
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w26, w26, w24
	b	LBB0_3
LBB0_24:
	ldp	q0, q1, [sp]
	ldp	q2, q3, [sp, #32]
	b	LBB0_26
LBB0_25:
	mov	w20, #0
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_26:
	stp	q0, q1, [x19]
	stp	q2, q3, [x19, #32]
	ldr	x8, [sp, #72]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.27:
	mov	x0, x20
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_19-LBB0_18)>>2
	.byte	(LBB0_20-LBB0_18)>>2
	.byte	(LBB0_21-LBB0_18)>>2
                                        ; -- End function
.subsections_via_symbols
