	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_prev_button                ## -- Begin function dlg_prev_button
	.p2align	4, 0x90
_dlg_prev_button:                       ## @dlg_prev_button
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	_MIN_BUTTON@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	jge	LBB0_2
## %bb.1:
	decl	%eax
	popq	%rbp
	retq
LBB0_2:
	testl	%eax, %eax
	movl	$-1, %ecx
	cmovnsl	%eax, %ecx
	movslq	%ecx, %rcx
	leal	-1(%rcx), %eax
	leaq	(%rdi,%rcx,8), %rcx
	addq	$8, %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	incl	%eax
	cmpq	$0, (%rcx)
	leaq	8(%rcx), %rcx
	jne	LBB0_3
## %bb.4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIN_BUTTON,4,2                 ## @MIN_BUTTON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dlg_prev_button                ; -- Begin function dlg_prev_button
	.p2align	2
_dlg_prev_button:                       ; @dlg_prev_button
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _MIN_BUTTON@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MIN_BUTTON@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w1
	b.ge	LBB0_2
; %bb.1:
	sub	w0, w1, #1
	ret
LBB0_2:
	mov	x8, x0
	cmp	w1, #0
	csinv	w9, w1, wzr, ge
	sub	w0, w9, #1
	add	x8, x8, w9, sxtw #3
	add	x8, x8, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8], #8
	add	w0, w0, #1
	cbnz	x9, LBB0_3
; %bb.4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MIN_BUTTON,4,2                 ; @MIN_BUTTON
.subsections_via_symbols
