	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_button
_draw_button:                           ## @draw_button
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movl	%r8d, %r13d
	movl	%ecx, %r14d
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movq	24(%rbp), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_bar_height@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	$1, %edi
	callq	_logical_px
	addl	%eax, %eax
	subl	%eax, %r12d
	movl	$1, %edi
	callq	_logical_px
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movl	%r13d, %edx
	movl	%eax, %ecx
	movl	%r15d, %r8d
	movl	%r12d, %r9d
	callq	_draw_util_rectangle
	movl	$1, %edi
	callq	_logical_px
                                        ## kill: def $eax killed $eax def $rax
	addl	%r13d, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	$1, %edi
	callq	_logical_px
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	$1, %edi
	callq	_logical_px
	addl	%eax, %eax
	movl	%r15d, %r14d
	subl	%eax, %r14d
	movl	$1, %edi
	callq	_logical_px
	addl	%eax, %eax
	subl	%eax, %r12d
	movq	%rbx, %rdi
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r14d, %r8d
	movl	%r12d, %r9d
	callq	_draw_util_rectangle
	subl	16(%rbp), %r15d
	movl	%r15d, %r8d
	shrl	$31, %r8d
	addl	%r15d, %r8d
	sarl	%r8d
	addl	-64(%rbp), %r8d                 ## 4-byte Folded Reload
	movq	_bar_height@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %r9d
	shrl	$31, %r9d
	addl	%eax, %r9d
	sarl	%r9d
	movq	_font@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	subl	%ecx, %r9d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_draw_util_text                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_bar_height,4,2                 ## @bar_height
	.comm	_font,4,2                       ## @font
	.no_dead_strip	_draw_button
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_button
_draw_button:                           ; @draw_button
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	x7, [sp, #8]                    ; 8-byte Folded Spill
	mov	x19, x6
	mov	x25, x5
	mov	x24, x4
	mov	x26, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _bar_height@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bar_height@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	w0, #1
	bl	_logical_px
	sub	w27, w20, w0, lsl #1
	mov	w0, #1
	bl	_logical_px
	mov	x3, x0
	mov	x0, x23
	mov	x1, x26
	mov	x2, x24
	mov	x4, x25
	mov	x5, x27
	bl	_draw_util_rectangle
	mov	w0, #1
	bl	_logical_px
	add	w26, w0, w24
	mov	w0, #1
	bl	_logical_px
	lsl	w28, w0, #1
	mov	w0, #1
	bl	_logical_px
	sub	w20, w25, w0, lsl #1
	mov	w0, #1
	bl	_logical_px
	sub	w5, w27, w0, lsl #1
	mov	x0, x23
	mov	x1, x21
	mov	x2, x26
	mov	x3, x28
	mov	x4, x20
	bl	_draw_util_rectangle
	sub	w8, w25, w19
	cmp	w8, #0
	cinc	w8, w8, lt
	add	w4, w24, w8, asr #1
Lloh3:
	adrp	x8, _bar_height@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bar_height@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
Lloh6:
	adrp	x9, _font@GOTPAGE
Lloh7:
	ldr	x9, [x9, _font@GOTPAGEOFF]
	asr	w8, w8, #1
Lloh8:
	ldr	w9, [x9]
	cmp	w9, #0
	cinc	w9, w9, lt
	sub	w5, w8, w9, asr #1
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x6, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_draw_util_text
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_bar_height,4,2                 ; @bar_height
	.comm	_font,4,2                       ; @font
	.no_dead_strip	_draw_button
.subsections_via_symbols
