	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function RadioButton_Draw
_RadioButton_Draw:                      ## @RadioButton_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
	movq	%rdi, %rbx
	movslq	8(%rdi), %r15
	movl	12(%rdi), %r14d
	movq	72(%rdi), %rax
	movq	(%rax), %rax
	movq	16(%rdi), %rcx
	movq	_QMF_GRAYED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_UI_LEFT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%edx, 24(%rdi)
	je	LBB0_1
## %bb.4:
	movq	_UI_SMALLFONT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	_text_color_disabled@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r13
	cmpq	%rcx, %rax
	je	LBB0_5
	jmp	LBB0_6
LBB0_1:
	cmpq	%rcx, %rax
	jne	LBB0_3
## %bb.2:
	movq	_UI_PULSE@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_UI_SMALLFONT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	_text_color_highlight@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_5:
	movq	56(%rbx), %rdi
	movq	64(%rbx), %rdx
	subq	%rdi, %rdx
	incq	%rdx
	movq	40(%rbx), %rsi
	movq	48(%rbx), %rcx
	subq	%rsi, %rcx
	incq	%rcx
	movq	_listbar_color@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_UI_FillRect
	movq	_UI_CENTER@GOTPCREL(%rip), %rax
	movq	_UI_BLINK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_UI_SMALLFONT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	$13, %edx
	movq	%r13, %r8
	callq	_UI_DrawChar
	jmp	LBB0_6
LBB0_3:
	movq	_UI_SMALLFONT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	_text_color_normal@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_6:
	movq	32(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.7:
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r15, %rdi
	subq	%rax, %rdi
	movq	_UI_RIGHT@GOTPCREL(%rip), %rax
	movq	_UI_SMALLFONT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%r14d, %esi
	movq	%r13, %r8
	callq	_UI_DrawString
LBB0_8:
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	%r15, %rdi
	leal	2(%r14), %esi
	movq	_uis@GOTPCREL(%rip), %rax
	cmpl	$0, (%rbx)
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.1(%rip), %rbx
	cmoveq	%rcx, %rbx
	leaq	4(%rax), %rcx
	cmoveq	%rcx, %rax
	movl	(%rax), %r8d
	movl	$16, %edx
	movl	$16, %ecx
	callq	_UI_DrawHandlePic
	movq	(%r12), %rax
	leaq	(%r15,%rax), %rdi
	addq	$16, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%r13, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UI_DrawString                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QMF_GRAYED,4,2                 ## @QMF_GRAYED
	.comm	_text_color_disabled,8,3        ## @text_color_disabled
	.comm	_UI_LEFT,4,2                    ## @UI_LEFT
	.comm	_UI_SMALLFONT,4,2               ## @UI_SMALLFONT
	.comm	_text_color_highlight,8,3       ## @text_color_highlight
	.comm	_UI_PULSE,4,2                   ## @UI_PULSE
	.comm	_text_color_normal,8,3          ## @text_color_normal
	.comm	_listbar_color,4,2              ## @listbar_color
	.comm	_UI_CENTER,4,2                  ## @UI_CENTER
	.comm	_UI_BLINK,4,2                   ## @UI_BLINK
	.comm	_SMALLCHAR_WIDTH,8,3            ## @SMALLCHAR_WIDTH
	.comm	_UI_RIGHT,4,2                   ## @UI_RIGHT
	.comm	_uis,8,2                        ## @uis
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"off"

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

	.no_dead_strip	_RadioButton_Draw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function RadioButton_Draw
_RadioButton_Draw:                      ; @RadioButton_Draw
	.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	x21, x0
	ldp	w20, w19, [x0, #8]
                                        ; kill: def $w20 killed $w20 def $x20
	sxtw	x20, w20
	ldr	x8, [x0, #72]
	ldr	x8, [x8]
	ldr	x9, [x0, #16]
	ldr	w11, [x0, #24]
Lloh0:
	adrp	x10, _QMF_GRAYED@GOTPAGE
Lloh1:
	ldr	x10, [x10, _QMF_GRAYED@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x10]
Lloh3:
	adrp	x10, _UI_LEFT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _UI_LEFT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x24, _UI_SMALLFONT@GOTPAGE
Lloh7:
	ldr	x24, [x24, _UI_SMALLFONT@GOTPAGEOFF]
	tst	w12, w11
	b.eq	LBB0_2
; %bb.1:
	ldr	w11, [x24]
	orr	w22, w11, w10
Lloh8:
	adrp	x10, _text_color_disabled@GOTPAGE
Lloh9:
	ldr	x10, [x10, _text_color_disabled@GOTPAGEOFF]
Lloh10:
	ldr	x23, [x10]
	cmp	x8, x9
	b.eq	LBB0_4
	b	LBB0_6
LBB0_2:
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
Lloh11:
	adrp	x8, _UI_PULSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UI_PULSE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w8, w8, w10
	ldr	w9, [x24]
	orr	w22, w8, w9
Lloh14:
	adrp	x8, _text_color_highlight@GOTPAGE
Lloh15:
	ldr	x8, [x8, _text_color_highlight@GOTPAGEOFF]
Lloh16:
	ldr	x23, [x8]
LBB0_4:
	ldp	x0, x8, [x21, #56]
	sub	x8, x8, x0
	add	x2, x8, #1
	ldp	x1, x8, [x21, #40]
	sub	x8, x8, x1
	add	x3, x8, #1
Lloh17:
	adrp	x8, _listbar_color@GOTPAGE
Lloh18:
	ldr	x8, [x8, _listbar_color@GOTPAGEOFF]
Lloh19:
	ldr	w4, [x8]
	bl	_UI_FillRect
Lloh20:
	adrp	x8, _UI_CENTER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _UI_CENTER@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _UI_BLINK@GOTPAGE
Lloh24:
	ldr	x9, [x9, _UI_BLINK@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x24]
	orr	w3, w8, w9
	mov	x0, x20
	mov	x1, x19
	mov	w2, #13
	mov	x4, x23
	bl	_UI_DrawChar
	b	LBB0_6
LBB0_5:
	ldr	w8, [x24]
	orr	w22, w8, w10
Lloh26:
	adrp	x8, _text_color_normal@GOTPAGE
Lloh27:
	ldr	x8, [x8, _text_color_normal@GOTPAGEOFF]
Lloh28:
	ldr	x23, [x8]
LBB0_6:
	ldr	x2, [x21, #32]
Lloh29:
	adrp	x25, _SMALLCHAR_WIDTH@GOTPAGE
Lloh30:
	ldr	x25, [x25, _SMALLCHAR_WIDTH@GOTPAGEOFF]
	cbz	x2, LBB0_8
; %bb.7:
	ldr	x8, [x25]
	sub	x0, x20, x8
Lloh31:
	adrp	x8, _UI_RIGHT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _UI_RIGHT@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	ldr	w9, [x24]
	orr	w3, w9, w8
	mov	x1, x19
	mov	x4, x23
	bl	_UI_DrawString
LBB0_8:
	ldr	w8, [x21]
	ldr	x9, [x25]
	add	x0, x9, x20
	add	w1, w19, #2
Lloh34:
	adrp	x9, l_.str.1@PAGE
Lloh35:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh36:
	adrp	x10, l_.str@PAGE
Lloh37:
	add	x10, x10, l_.str@PAGEOFF
	cmp	w8, #0
	csel	x21, x10, x9, eq
Lloh38:
	adrp	x8, _uis@GOTPAGE
Lloh39:
	ldr	x8, [x8, _uis@GOTPAGEOFF]
	add	x9, x8, #4
	csel	x8, x9, x8, eq
	ldr	w4, [x8]
	mov	w2, #16
	mov	w3, #16
	bl	_UI_DrawHandlePic
	ldr	x8, [x25]
	add	x8, x20, x8
	add	x0, x8, #16
	mov	x1, x19
	mov	x2, x21
	mov	x3, x22
	mov	x4, 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	_UI_DrawString
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_QMF_GRAYED,4,2                 ; @QMF_GRAYED
	.comm	_text_color_disabled,8,3        ; @text_color_disabled
	.comm	_UI_LEFT,4,2                    ; @UI_LEFT
	.comm	_UI_SMALLFONT,4,2               ; @UI_SMALLFONT
	.comm	_text_color_highlight,8,3       ; @text_color_highlight
	.comm	_UI_PULSE,4,2                   ; @UI_PULSE
	.comm	_text_color_normal,8,3          ; @text_color_normal
	.comm	_listbar_color,4,2              ; @listbar_color
	.comm	_UI_CENTER,4,2                  ; @UI_CENTER
	.comm	_UI_BLINK,4,2                   ; @UI_BLINK
	.comm	_SMALLCHAR_WIDTH,8,3            ; @SMALLCHAR_WIDTH
	.comm	_UI_RIGHT,4,2                   ; @UI_RIGHT
	.comm	_uis,8,2                        ; @uis
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"off"

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

	.no_dead_strip	_RadioButton_Draw
.subsections_via_symbols
