	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_expose
_handle_expose:                         ## @handle_expose
	.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, -48(%rbp)                 ## 8-byte Spill
	movq	_color_background@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_bar@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_draw_util_clear_surface
	movq	_prompt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_color_text@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	movq	_MSG_PADDING@GOTPCREL(%rip), %r14
	movl	(%r14), %r8d
	movl	(%rbx), %eax
	subl	%r8d, %eax
	subl	%r8d, %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rsi
	movl	%r8d, %r9d
	callq	_draw_util_text
	movl	(%rbx), %ebx
	movq	_BTN_BORDER@GOTPCREL(%rip), %rax
	movq	_BTN_PADDING@GOTPCREL(%rip), %rcx
	subl	(%r14), %ebx
	addl	(%rax), %ebx
	addl	(%rcx), %ebx
	movq	_btn_close@GOTPCREL(%rip), %rdi
	movl	%ebx, %esi
	callq	_button_draw
	movq	_buttoncnt@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	movq	_CLOSE_BTN_GAP@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	subl	%eax, %ebx
	xorl	%r13d, %r13d
	movq	_buttons@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_BTN_GAP@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movq	(%r15), %rdi
	addq	%r13, %rdi
	movl	%ebx, %esi
	callq	_button_draw
	subl	%eax, %ebx
	incq	%r12
	movslq	(%r14), %rax
	addq	$4, %r13
	cmpq	%rax, %r12
	jl	LBB0_2
LBB0_3:
	movq	_color_border_bottom@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_bar@GOTPCREL(%rip), %rdi
	movq	8(%rdi), %rcx
	movq	_BAR_BORDER@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	subq	%r9, %rcx
	movl	(%rdi), %r8d
	xorl	%edx, %edx
	callq	_draw_util_rectangle
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_xcb_flush
	movl	$1, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bar,16,3                       ## @bar
	.comm	_color_background,4,2           ## @color_background
	.comm	_prompt,4,2                     ## @prompt
	.comm	_color_text,4,2                 ## @color_text
	.comm	_MSG_PADDING,4,2                ## @MSG_PADDING
	.comm	_BTN_BORDER,4,2                 ## @BTN_BORDER
	.comm	_BTN_PADDING,4,2                ## @BTN_PADDING
	.comm	_btn_close,4,2                  ## @btn_close
	.comm	_CLOSE_BTN_GAP,8,3              ## @CLOSE_BTN_GAP
	.comm	_buttoncnt,4,2                  ## @buttoncnt
	.comm	_BTN_GAP,8,3                    ## @BTN_GAP
	.comm	_buttons,8,3                    ## @buttons
	.comm	_color_border_bottom,4,2        ## @color_border_bottom
	.comm	_BAR_BORDER,8,3                 ## @BAR_BORDER
	.no_dead_strip	_handle_expose
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_expose
_handle_expose:                         ; @handle_expose
	.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	x21, _color_background@GOTPAGE
Lloh1:
	ldr	x21, [x21, _color_background@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x20, _bar@GOTPAGE
Lloh3:
	ldr	x20, [x20, _bar@GOTPAGEOFF]
	mov	x0, x20
	bl	_draw_util_clear_surface
Lloh4:
	adrp	x8, _prompt@GOTPAGE
Lloh5:
	ldr	x8, [x8, _prompt@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _color_text@GOTPAGE
Lloh8:
	ldr	x8, [x8, _color_text@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	ldr	w3, [x21]
Lloh10:
	adrp	x21, _MSG_PADDING@GOTPAGE
Lloh11:
	ldr	x21, [x21, _MSG_PADDING@GOTPAGEOFF]
	ldr	w4, [x21]
	ldr	w8, [x20]
	sub	w6, w8, w4, lsl #1
	mov	x1, x20
	mov	x5, x4
	bl	_draw_util_text
	ldr	w8, [x20]
	ldr	w9, [x21]
Lloh12:
	adrp	x10, _BTN_BORDER@GOTPAGE
Lloh13:
	ldr	x10, [x10, _BTN_BORDER@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
Lloh15:
	adrp	x11, _BTN_PADDING@GOTPAGE
Lloh16:
	ldr	x11, [x11, _BTN_PADDING@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	sub	w8, w8, w9
	add	w8, w8, w10
	add	w21, w8, w11
Lloh18:
	adrp	x0, _btn_close@GOTPAGE
Lloh19:
	ldr	x0, [x0, _btn_close@GOTPAGEOFF]
	mov	x1, x21
	bl	_button_draw
Lloh20:
	adrp	x22, _buttoncnt@GOTPAGE
Lloh21:
	ldr	x22, [x22, _buttoncnt@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
	mov	x24, #0
Lloh22:
	adrp	x8, _CLOSE_BTN_GAP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CLOSE_BTN_GAP@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	add	w8, w8, w0
	sub	w8, w21, w8
Lloh25:
	adrp	x25, _BTN_GAP@GOTPAGE
Lloh26:
	ldr	x25, [x25, _BTN_GAP@GOTPAGEOFF]
Lloh27:
	adrp	x26, _buttons@GOTPAGE
Lloh28:
	ldr	x26, [x26, _buttons@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x25]
	sub	w21, w8, w9
	ldr	x8, [x26]
	add	x0, x8, x23
	mov	x1, x21
	bl	_button_draw
	sub	w8, w21, w0
	add	x24, x24, #1
	ldrsw	x9, [x22]
	add	x23, x23, #4
	cmp	x24, x9
	b.lt	LBB0_2
LBB0_3:
Lloh29:
	adrp	x8, _color_border_bottom@GOTPAGE
Lloh30:
	ldr	x8, [x8, _color_border_bottom@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	ldr	x8, [x20, #8]
Lloh32:
	adrp	x9, _BAR_BORDER@GOTPAGE
Lloh33:
	ldr	x9, [x9, _BAR_BORDER@GOTPAGEOFF]
Lloh34:
	ldr	x5, [x9]
	sub	x3, x8, x5
	ldr	w4, [x20]
	mov	x0, x20
	mov	w2, #0
	bl	_draw_util_rectangle
	mov	x0, x19
	bl	_xcb_flush
	mov	w0, #1
	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
	ret
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_bar,16,3                       ; @bar
	.comm	_color_background,4,2           ; @color_background
	.comm	_prompt,4,2                     ; @prompt
	.comm	_color_text,4,2                 ; @color_text
	.comm	_MSG_PADDING,4,2                ; @MSG_PADDING
	.comm	_BTN_BORDER,4,2                 ; @BTN_BORDER
	.comm	_BTN_PADDING,4,2                ; @BTN_PADDING
	.comm	_btn_close,4,2                  ; @btn_close
	.comm	_CLOSE_BTN_GAP,8,3              ; @CLOSE_BTN_GAP
	.comm	_buttoncnt,4,2                  ; @buttoncnt
	.comm	_BTN_GAP,8,3                    ; @BTN_GAP
	.comm	_buttons,8,3                    ; @buttons
	.comm	_color_border_bottom,4,2        ; @color_border_bottom
	.comm	_BAR_BORDER,8,3                 ; @BAR_BORDER
	.no_dead_strip	_handle_expose
.subsections_via_symbols
