	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_margin_edits
_update_margin_edits:                   ## @update_margin_edits
	.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	$408, %rsp                      ## imm = 0x198
	.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)
	movq	_edt4@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_edt7@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rbx
	jle	LBB0_1
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$408, %rsp                      ## imm = 0x198
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdx, %r12
	movq	%rsi, %r14
	movl	%edi, %r15d
	leaq	-448(%rbp), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_pagesetup_get_margin_rect
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_element_from_margin_id
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_size2str
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_SetDlgItemTextW
	movq	_edt7@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rbx), %rcx
	cmpq	%rax, %rbx
	movq	%rcx, %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r12, %r12
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rbx, %r12
	jne	LBB0_5
	jmp	LBB0_4
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_edt4,8,3                       ## @edt4
	.comm	_edt7,8,3                       ## @edt7
	.no_dead_strip	_update_margin_edits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_margin_edits
_update_margin_edits:                   ; @update_margin_edits
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #480
	.cfi_def_cfa_offset 480
	stp	x24, x23, [sp, #416]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #432]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #448]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #464]            ; 16-byte Folded Spill
	add	x29, sp, #464
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _edt4@GOTPAGE
Lloh4:
	ldr	x9, [x9, _edt4@GOTPAGEOFF]
	stur	x8, [x29, #-56]
Lloh5:
	ldr	x22, [x9]
Lloh6:
	adrp	x23, _edt7@GOTPAGE
Lloh7:
	ldr	x23, [x23, _edt7@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x22, x8
	b.le	LBB0_3
LBB0_1:
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.2:
	ldp	x29, x30, [sp, #464]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #448]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #432]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #416]            ; 16-byte Folded Reload
	add	sp, sp, #480
	ret
LBB0_3:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_pagesetup_get_margin_rect
	mov	x1, x22
	bl	_element_from_margin_id
	ldr	w1, [x0]
	add	x2, sp, #8
	mov	x0, x20
	bl	_size2str
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x22
	bl	_SetDlgItemTextW
	ldr	x8, [x23]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x22, #1
	cmp	x22, x8
	mov	x22, x9
	b.ge	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x19, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x19, x22
	b.ne	LBB0_5
	b	LBB0_4
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_edt4,8,3                       ; @edt4
	.comm	_edt7,8,3                       ; @edt7
	.no_dead_strip	_update_margin_edits
.subsections_via_symbols
