	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HEADER_Layout
_HEADER_Layout:                         ## @HEADER_Layout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	16(%rdi), %ecx
	movq	(%rsi), %rax
	movl	%ecx, 48(%rax)
	movq	$0, 40(%rax)
	movq	8(%rsi), %rdi
	movq	8(%rdi), %rsi
	movq	%rsi, 24(%rax)
	movl	(%rdi), %edx
	movl	%edx, 16(%rax)
	movq	16(%rdi), %rcx
	subq	%rsi, %rcx
	movq	%rcx, 8(%rax)
	movq	_HDS_HIDDEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	testl	%ebx, (%r14)
	je	LBB0_2
## %bb.1:
	xorl	%r8d, %r8d
	jmp	LBB0_3
LBB0_2:
	movq	8(%r14), %r8
	leal	(%rdx,%r8), %ebx
	movl	%ebx, (%rdi)
LBB0_3:
	movq	%r8, (%rax)
	movq	_SWP_NOZORDER@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	movl	%edi, 32(%rax)
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_TRACE
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDS_HIDDEN,4,2                 ## @HDS_HIDDEN
	.comm	_SWP_NOZORDER,4,2               ## @SWP_NOZORDER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Layout x=%d y=%d cx=%d cy=%d\n"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_HEADER_Layout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HEADER_Layout
_HEADER_Layout:                         ; @HEADER_Layout
	.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
	mov	x19, x0
	mov	x4, #0
	ldr	w10, [x0, #16]
	ldp	x8, x9, [x1]
	str	w10, [x8, #48]
	str	xzr, [x8, #40]
	ldp	x1, x10, [x9, #8]
	str	x1, [x8, #24]
	ldr	w2, [x9]
	str	w2, [x8, #16]
	sub	x3, x10, x1
	str	x3, [x8, #8]
	ldr	w10, [x0]
Lloh0:
	adrp	x11, _HDS_HIDDEN@GOTPAGE
Lloh1:
	ldr	x11, [x11, _HDS_HIDDEN@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	tst	w11, w10
	b.ne	LBB0_2
; %bb.1:
	ldr	x4, [x19, #8]
	add	w10, w2, w4
	str	w10, [x9]
LBB0_2:
	str	x4, [x8]
Lloh3:
	adrp	x9, _SWP_NOZORDER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SWP_NOZORDER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x8, #32]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
Lloh8:
	adrp	x8, _FALSE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #4]
Lloh11:
	adrp	x8, _TRUE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HDS_HIDDEN,4,2                 ; @HDS_HIDDEN
	.comm	_SWP_NOZORDER,4,2               ; @SWP_NOZORDER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Layout x=%d y=%d cx=%d cy=%d\n"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_HEADER_Layout
.subsections_via_symbols
