	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sighandler_draw_dialog
_sighandler_draw_dialog:                ## @sighandler_draw_dialog
	.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
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rdi
	callq	_draw_util_hex_to_color
	movl	%eax, %r13d
	leaq	L_.str.1(%rip), %rdi
	callq	_draw_util_hex_to_color
	movl	%eax, %r15d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str.2(%rip), %rdi
	callq	_draw_util_hex_to_color
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_draw_util_clear_surface
	movq	_border_width@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movl	8(%r12), %r8d
	movq	%rcx, %rax
	addq	%rcx, %rax
	subl	%eax, %r8d
	movq	16(%r12), %r9
	subq	%rax, %r9
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%ecx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_draw_util_rectangle
	movq	_margin@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_border_width@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movl	8(%r12), %r14d
	subl	%ebx, %r14d
	subl	%ebx, %r14d
	movq	_message_intro@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, (%rsp)
	movq	%r12, %rsi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	%r13d, %r15d
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movl	%ebx, %r8d
	movl	%ebx, %r9d
	callq	_draw_util_text
	movq	_config@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	addl	%ebx, %r13d
	movq	_message_intro2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, (%rsp)
	movq	%r12, %rsi
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	movl	%r13d, %r9d
	callq	_draw_util_text
	movq	_backtrace_done@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rcx, %rax
	leaq	L_.str.3(%rip), %rdi
	cmovnsq	%rax, %rdi
	movq	_config@GOTPCREL(%rip), %rax
	addl	(%rax), %r13d
	movq	_message_option_backtrace@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	callq	_draw_util_hex_to_color
	movl	%r14d, (%rsp)
	movl	%r15d, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	movl	%r13d, %r9d
	callq	_draw_util_text
	movq	_config@GOTPCREL(%rip), %rax
	addl	(%rax), %r13d
	movq	_message_option_restart@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, (%rsp)
	movq	%r12, %rsi
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edx
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	movl	%r13d, %r9d
	callq	_draw_util_text
	movq	_config@GOTPCREL(%rip), %rax
	addl	(%rax), %r13d
	movq	_message_option_forget@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, (%rsp)
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	movl	%r13d, %r9d
	callq	_draw_util_text
	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	"#000000"

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

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

	.comm	_border_width,4,2               ## @border_width
	.comm	_margin,4,2                     ## @margin
	.comm	_message_intro,4,2              ## @message_intro
	.comm	_config,8,3                     ## @config
	.comm	_message_intro2,4,2             ## @message_intro2
	.comm	_backtrace_done,8,3             ## @backtrace_done
L_.str.3:                               ## @.str.3
	.asciz	"#AA0000"

L_.str.4:                               ## @.str.4
	.asciz	"#00AA00"

	.comm	_message_option_backtrace,4,2   ## @message_option_backtrace
	.comm	_message_option_restart,4,2     ## @message_option_restart
	.comm	_message_option_forget,4,2      ## @message_option_forget
	.no_dead_strip	_sighandler_draw_dialog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sighandler_draw_dialog
_sighandler_draw_dialog:                ; @sighandler_draw_dialog
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_draw_util_hex_to_color
	mov	x20, x0
Lloh2:
	adrp	x24, l_.str.1@PAGE
Lloh3:
	add	x24, x24, l_.str.1@PAGEOFF
	mov	x0, x24
	bl	_draw_util_hex_to_color
	mov	x21, x0
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_draw_util_hex_to_color
	mov	x1, x0
	mov	x0, x19
	bl	_draw_util_clear_surface
Lloh6:
	adrp	x22, _border_width@GOTPAGE
Lloh7:
	ldr	x22, [x22, _border_width@GOTPAGEOFF]
	ldrsw	x2, [x22]
	ldr	w8, [x19, #8]
	lsl	x9, x2, #1
	sub	w4, w8, w9
	ldr	x8, [x19, #16]
	sub	x5, x8, x9
	mov	x0, x19
	mov	x1, x20
	mov	x3, x2
	bl	_draw_util_rectangle
	ldr	w8, [x22]
Lloh8:
	adrp	x9, _margin@GOTPAGE
Lloh9:
	ldr	x9, [x9, _margin@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	add	w22, w9, w8
	ldr	w8, [x19, #8]
	sub	w23, w8, w22, lsl #1
Lloh11:
	adrp	x8, _message_intro@GOTPAGE
Lloh12:
	ldr	x8, [x8, _message_intro@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	mov	x4, x22
	mov	x5, x22
	mov	x6, x23
	bl	_draw_util_text
Lloh14:
	adrp	x26, _config@GOTPAGE
Lloh15:
	ldr	x26, [x26, _config@GOTPAGEOFF]
	ldr	w8, [x26]
	add	w25, w22, w8
Lloh16:
	adrp	x8, _message_intro2@GOTPAGE
Lloh17:
	ldr	x8, [x8, _message_intro2@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	mov	x4, x22
	mov	x5, x25
	mov	x6, x23
	bl	_draw_util_text
	ldr	w8, [x26]
Lloh19:
	adrp	x9, _backtrace_done@GOTPAGE
Lloh20:
	ldr	x9, [x9, _backtrace_done@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
Lloh22:
	adrp	x10, l_.str.4@PAGE
Lloh23:
	add	x10, x10, l_.str.4@PAGEOFF
Lloh24:
	adrp	x11, l_.str.3@PAGE
Lloh25:
	add	x11, x11, l_.str.3@PAGEOFF
	cmp	x9, #0
	csel	x9, x24, x10, eq
	csel	x0, x11, x9, lt
	add	w24, w25, w8
Lloh26:
	adrp	x8, _message_option_backtrace@GOTPAGE
Lloh27:
	ldr	x8, [x8, _message_option_backtrace@GOTPAGEOFF]
Lloh28:
	ldr	w25, [x8]
	bl	_draw_util_hex_to_color
	mov	x2, x0
	mov	x0, x25
	mov	x1, x19
	mov	x3, x20
	mov	x4, x22
	mov	x5, x24
	mov	x6, x23
	bl	_draw_util_text
	ldr	w8, [x26]
	add	w24, w24, w8
Lloh29:
	adrp	x8, _message_option_restart@GOTPAGE
Lloh30:
	ldr	x8, [x8, _message_option_restart@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	mov	x4, x22
	mov	x5, x24
	mov	x6, x23
	bl	_draw_util_text
	ldr	w8, [x26]
	add	w5, w24, w8
Lloh32:
	adrp	x8, _message_option_forget@GOTPAGE
Lloh33:
	ldr	x8, [x8, _message_option_forget@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	mov	x4, x22
	mov	x6, x23
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_draw_util_text
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"#000000"

l_.str.1:                               ; @.str.1
	.asciz	"#FFFFFF"

l_.str.2:                               ; @.str.2
	.asciz	"#FF0000"

	.comm	_border_width,4,2               ; @border_width
	.comm	_margin,4,2                     ; @margin
	.comm	_message_intro,4,2              ; @message_intro
	.comm	_config,8,3                     ; @config
	.comm	_message_intro2,4,2             ; @message_intro2
	.comm	_backtrace_done,8,3             ; @backtrace_done
l_.str.3:                               ; @.str.3
	.asciz	"#AA0000"

l_.str.4:                               ; @.str.4
	.asciz	"#00AA00"

	.comm	_message_option_backtrace,4,2   ; @message_option_backtrace
	.comm	_message_option_restart,4,2     ; @message_option_restart
	.comm	_message_option_forget,4,2      ; @message_option_forget
	.no_dead_strip	_sighandler_draw_dialog
.subsections_via_symbols
