	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LayoutList_GetByHkl            ## -- Begin function LayoutList_GetByHkl
	.p2align	4, 0x90
_LayoutList_GetByHkl:                   ## @LayoutList_GetByHkl
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	callq	_HIWORD
	notl	%eax
	testl	$61440, %eax                    ## imm = 0xF000
	jne	LBB0_1
## %bb.5:
	movl	%r14d, %edi
	callq	_HIWORD
                                        ## kill: def $eax killed $eax def $rax
	movq	__LayoutList@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.6:
	andl	$4095, %eax                     ## imm = 0xFFF
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%rbx)
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_7
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	__LayoutList@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_HIWORD
	movl	%eax, %r15d
	movl	8(%rbx), %edi
	callq	_LOWORD
	cmpl	%eax, %r15d
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	__LayoutList,8,3                ## @_LayoutList
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LayoutList_GetByHkl            ; -- Begin function LayoutList_GetByHkl
	.p2align	2
_LayoutList_GetByHkl:                   ; @LayoutList_GetByHkl
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	bl	_HIWORD
	mvn	w8, w0
	tst	w8, #0xf000
	b.ne	LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_HIWORD
Lloh0:
	adrp	x8, __LayoutList@GOTPAGE
Lloh1:
	ldr	x8, [x8, __LayoutList@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	cbz	x19, LBB0_8
; %bb.2:
	and	w8, w0, #0xfff
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	cmp	x9, x8
	b.eq	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x19, [x19, #16]
	cbnz	x19, LBB0_3
	b	LBB0_8
LBB0_5:
Lloh3:
	adrp	x8, __LayoutList@GOTPAGE
Lloh4:
	ldr	x8, [x8, __LayoutList@GOTPAGEOFF]
Lloh5:
	ldr	x19, [x8]
	cbz	x19, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_HIWORD
	mov	x21, x0
	ldr	w0, [x19, #8]
	bl	_LOWORD
	cmp	w21, w0
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x19, [x19, #16]
	cbnz	x19, LBB0_6
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	__LayoutList,8,3                ; @_LayoutList
.subsections_via_symbols
