	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dialog_gauge                   ## -- Begin function dialog_gauge
	.p2align	4, 0x90
_dialog_gauge:                          ## @dialog_gauge
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	callq	_dlg_allocate_gauge
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_DLG_TRACE
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_DLG_TRACE2S
	leaq	L_.str.2(%rip), %rdi
	movq	%r13, %rsi
	callq	_DLG_TRACE2S
	leaq	L_.str.3(%rip), %rdi
	movl	%r12d, %esi
	callq	_DLG_TRACE2N
	leaq	L_.str.4(%rip), %rdi
	movl	%r14d, %esi
	callq	_DLG_TRACE2N
	leaq	L_.str.5(%rip), %rdi
	movl	%r15d, %esi
	callq	_DLG_TRACE2N
	movq	_my_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	callq	_dlg_add_callback_ref
	movq	-48(%rbp), %rdi
	movl	%r15d, %esi
	callq	_dlg_update_gauge
	movq	-48(%rbp), %rax
	movl	32(%rax), %edi
	callq	_dlg_trace_win
	leaq	-52(%rbp), %r15
	leaq	-56(%rbp), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax
	movl	32(%rax), %edi
	movq	%r15, %rsi
	callq	_dlg_getc
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi
	callq	_valid
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi
	addq	$8, %rdi
	movl	-52(%rbp), %edx
	movl	%ebx, %esi
	movq	%r14, %rcx
	callq	_handle_my_getc
	testq	%rax, %rax
	jne	LBB0_1
LBB0_3:
	movq	-48(%rbp), %rdi
	callq	_dlg_free_gauge
	movq	_DLG_EXIT_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"# gauge args:\n"

L_.str.1:                               ## @.str.1
	.asciz	"title"

L_.str.2:                               ## @.str.2
	.asciz	"message"

L_.str.3:                               ## @.str.3
	.asciz	"height"

L_.str.4:                               ## @.str.4
	.asciz	"width"

L_.str.5:                               ## @.str.5
	.asciz	"percent"

	.comm	_my_cleanup,4,2                 ## @my_cleanup
	.comm	_DLG_EXIT_OK,4,2                ## @DLG_EXIT_OK
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_KEY_RESIZE,4,2                 ## @KEY_RESIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dialog_gauge                   ; -- Begin function dialog_gauge
	.p2align	2
_dialog_gauge:                          ; @dialog_gauge
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_dlg_allocate_gauge
	str	x0, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DLG_TRACE
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x23
	bl	_DLG_TRACE2S
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x22
	bl	_DLG_TRACE2S
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x21
	bl	_DLG_TRACE2N
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
	bl	_DLG_TRACE2N
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_DLG_TRACE2N
Lloh12:
	adrp	x8, _my_cleanup@GOTPAGE
Lloh13:
	ldr	x8, [x8, _my_cleanup@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, sp
	bl	_dlg_add_callback_ref
	ldr	x0, [sp]
	mov	x1, x19
	bl	_dlg_update_gauge
	ldr	x8, [sp]
	ldr	w0, [x8, #32]
	bl	_dlg_trace_win
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp]
	ldr	w0, [x8, #32]
	add	x1, sp, #12
	bl	_dlg_getc
	mov	x19, x0
	ldr	x0, [sp]
	bl	_valid
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [sp]
	add	x0, x8, #8
	ldr	w2, [sp, #12]
	add	x3, sp, #8
	mov	x1, x19
	bl	_handle_my_getc
	cbnz	x0, LBB0_1
LBB0_3:
	ldr	x0, [sp]
	bl	_dlg_free_gauge
Lloh15:
	adrp	x8, _DLG_EXIT_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DLG_EXIT_OK@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"# gauge args:\n"

l_.str.1:                               ; @.str.1
	.asciz	"title"

l_.str.2:                               ; @.str.2
	.asciz	"message"

l_.str.3:                               ; @.str.3
	.asciz	"height"

l_.str.4:                               ; @.str.4
	.asciz	"width"

l_.str.5:                               ; @.str.5
	.asciz	"percent"

	.comm	_my_cleanup,4,2                 ; @my_cleanup
	.comm	_DLG_EXIT_OK,4,2                ; @DLG_EXIT_OK
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_KEY_RESIZE,4,2                 ; @KEY_RESIZE
.subsections_via_symbols
