	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function button_draw
_button_draw:                           ## @button_draw
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	8(%rdi), %edi
	callq	_predict_text_width
	movl	%eax, %r15d
	movq	_BTN_PADDING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	%rcx, %r9
	leal	(%r15,%rax,2), %eax
	movq	_BTN_BORDER@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	leal	(%rax,%rcx,2), %r8d
	movl	%r8d, (%r14)
	movl	%ebx, %edx
	subl	%r8d, %edx
	movl	%edx, 4(%r14)
	movq	_color_border@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MSG_PADDING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movslq	(%r9), %rax
	movslq	(%r12), %r9
	subl	%r9d, %ecx
	subl	%eax, %ecx
	movq	_font@GOTPCREL(%rip), %rdi
	addq	%rax, %rax
	addq	(%rdi), %rax
	leaq	(%rax,%r9,2), %r9
	movq	_bar@GOTPCREL(%rip), %r13
	movq	%r13, %rdi
	callq	_draw_util_rectangle
	movq	_color_button_background@GOTPCREL(%rip), %rax
	movl	%ebx, %edx
	subl	(%r14), %edx
	addl	(%r12), %edx
	movl	(%rax), %esi
	movq	%rax, %r12
	movq	_MSG_PADDING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_BTN_PADDING@GOTPCREL(%rip), %rax
	movslq	(%rax), %r9
	subl	%r9d, %ecx
	addq	%r9, %r9
	addl	%r9d, %r15d
	movq	_font@GOTPCREL(%rip), %rax
	addq	(%rax), %r9
	movq	%r13, %rdi
	movl	%r15d, %r8d
	callq	_draw_util_rectangle
	movl	8(%r14), %edi
	movq	_color_text@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	subl	(%r14), %ebx
	movq	_BTN_BORDER@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movl	(%r12), %ecx
	movq	_BTN_PADDING@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movq	_MSG_PADDING@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	$200, (%rsp)
	movq	%r13, %rsi
	movl	%ebx, %r8d
	callq	_draw_util_text
	movl	(%r14), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTN_PADDING,4,2                ## @BTN_PADDING
	.comm	_BTN_BORDER,4,2                 ## @BTN_BORDER
	.comm	_bar,4,2                        ## @bar
	.comm	_color_border,4,2               ## @color_border
	.comm	_MSG_PADDING,4,2                ## @MSG_PADDING
	.comm	_font,8,3                       ## @font
	.comm	_color_button_background,4,2    ## @color_button_background
	.comm	_color_text,4,2                 ## @color_text
	.no_dead_strip	_button_draw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function button_draw
_button_draw:                           ; @button_draw
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_predict_text_width
	mov	x21, x0
Lloh0:
	adrp	x23, _BTN_PADDING@GOTPAGE
Lloh1:
	ldr	x23, [x23, _BTN_PADDING@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w8, w0, w8, lsl #1
Lloh2:
	adrp	x24, _BTN_BORDER@GOTPAGE
Lloh3:
	ldr	x24, [x24, _BTN_BORDER@GOTPAGEOFF]
	ldr	w9, [x24]
	add	w4, w8, w9, lsl #1
	sub	w2, w20, w4
	stp	w4, w2, [x19]
Lloh4:
	adrp	x8, _color_border@GOTPAGE
Lloh5:
	ldr	x8, [x8, _color_border@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x25, _MSG_PADDING@GOTPAGE
Lloh8:
	ldr	x25, [x25, _MSG_PADDING@GOTPAGEOFF]
	ldr	w8, [x25]
	ldrsw	x9, [x23]
	ldrsw	x10, [x24]
	add	w11, w9, w10
	sub	w3, w8, w11
Lloh9:
	adrp	x26, _font@GOTPAGE
Lloh10:
	ldr	x26, [x26, _font@GOTPAGEOFF]
	ldr	x8, [x26]
	add	x8, x8, x9, lsl #1
	add	x5, x8, x10, lsl #1
Lloh11:
	adrp	x22, _bar@GOTPAGE
Lloh12:
	ldr	x22, [x22, _bar@GOTPAGEOFF]
	mov	x0, x22
	bl	_draw_util_rectangle
Lloh13:
	adrp	x27, _color_button_background@GOTPAGE
Lloh14:
	ldr	x27, [x27, _color_button_background@GOTPAGEOFF]
	ldr	w1, [x27]
	ldr	w8, [x19]
	ldr	w9, [x24]
	sub	w8, w20, w8
	add	w2, w8, w9
	ldr	w8, [x25]
	ldrsw	x9, [x23]
	sub	w3, w8, w9
	lsl	x8, x9, #1
	add	w4, w8, w21
	ldr	x9, [x26]
	add	x5, x9, x8
	mov	x0, x22
	bl	_draw_util_rectangle
	ldr	w0, [x19, #8]
Lloh15:
	adrp	x8, _color_text@GOTPAGE
Lloh16:
	ldr	x8, [x8, _color_text@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	ldr	w3, [x27]
	ldr	w8, [x19]
	ldr	w9, [x24]
	sub	w8, w20, w8
	add	w8, w8, w9
	ldr	w9, [x23]
	add	w4, w8, w9
	ldr	w5, [x25]
	mov	x1, x22
	mov	w6, #200
	bl	_draw_util_text
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BTN_PADDING,4,2                ; @BTN_PADDING
	.comm	_BTN_BORDER,4,2                 ; @BTN_BORDER
	.comm	_bar,4,2                        ; @bar
	.comm	_color_border,4,2               ; @color_border
	.comm	_MSG_PADDING,4,2                ; @MSG_PADDING
	.comm	_font,8,3                       ; @font
	.comm	_color_button_background,4,2    ; @color_button_background
	.comm	_color_text,4,2                 ; @color_text
	.no_dead_strip	_button_draw
.subsections_via_symbols
