	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_led_size
_get_led_size:                          ## @get_led_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movl	(%rdi), %edi
	callq	_GetWindowTheme
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_TMT_PROGRESSCHUNKSIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-20(%rbp), %r8
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_GetThemeInt
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	-20(%rbp), %eax
	jmp	LBB0_4
LBB0_3:
	movq	_PBS_VERTICAL@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	andl	(%rax), %ebx
	setne	%cl
	shlq	$4, %rcx
	movq	8(%r14,%rcx), %rdi
	subq	(%r14,%rcx), %rdi
	movl	$2, %esi
	movl	$3, %edx
	callq	_MulDiv
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TMT_PROGRESSCHUNKSIZE,4,2      ## @TMT_PROGRESSCHUNKSIZE
	.comm	_PBS_VERTICAL,4,2               ## @PBS_VERTICAL
	.no_dead_strip	_get_led_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_led_size
_get_led_size:                          ; @get_led_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	ldr	w0, [x0]
	bl	_GetWindowTheme
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _TMT_PROGRESSCHUNKSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TMT_PROGRESSCHUNKSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	add	x4, sp, #12
	mov	w1, #0
	mov	w2, #0
	bl	_GetThemeInt
	bl	_SUCCEEDED
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [sp, #12]
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _PBS_VERTICAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PBS_VERTICAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w20
	cset	w8, ne
	lsl	x8, x8, #4
	mov	w9, #24
	mov	w10, #8
	csel	x9, x10, x9, eq
	ldr	x9, [x19, x9]
	ldr	x8, [x19, x8]
	sub	x0, x9, x8
	mov	w1, #2
	mov	w2, #3
	bl	_MulDiv
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TMT_PROGRESSCHUNKSIZE,4,2      ; @TMT_PROGRESSCHUNKSIZE
	.comm	_PBS_VERTICAL,4,2               ; @PBS_VERTICAL
	.no_dead_strip	_get_led_size
.subsections_via_symbols
