	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_max_choices                ## -- Begin function get_max_choices
	.p2align	4, 0x90
_get_max_choices:                       ## @get_max_choices
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -40(%rbp)
	movq	_MAX_CHOICES@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movq	_conf@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.3:
	cmpl	$0, 24(%r14)
	je	LBB0_4
## %bb.5:
	cmpq	$0, 16(%r14)
	je	LBB0_7
## %bb.6:
	movq	_MAX_CHOICES_RT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	cmovll	%ecx, %eax
	jmp	LBB0_11
LBB0_1:
	cmpq	$0, 16(%r14)
	je	LBB0_10
## %bb.2:
	movq	_MAX_CHOICES_RT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_4:
	cmpl	%ebx, %ecx
	cmovll	%ecx, %ebx
	jmp	LBB0_10
LBB0_7:
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdi
	movl	$1, %edx
	callq	_find_output_type
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movl	(%r14), %ebx
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	$1, %edx
	callq	_find_output_type
	movl	(%r14), %r12d
	testl	%r12d, %r12d
	cmovlel	%ebx, %r12d
	testq	%rax, %rax
	cmovnel	%ebx, %r12d
	leaq	L_.str.2(%rip), %rsi
	leaq	-40(%rbp), %rdi
	movl	$1, %edx
	callq	_find_output_type
	movl	(%r14), %ecx
	movl	(%r15), %edx
	cmpl	%edx, %ecx
	cmovll	%ecx, %edx
	cmpq	$0, 8(%r14)
	cmovel	%edx, %r12d
	testq	%rax, %rax
	cmovel	%edx, %r12d
	movq	-56(%rbp), %rdi
	callq	_free
	movq	-40(%rbp), %rdi
	callq	_free
	movq	-48(%rbp), %rdi
	callq	_free
	movl	%r12d, %ebx
LBB0_10:
	movl	%ebx, %eax
LBB0_11:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CHOICES,4,2                ## @MAX_CHOICES
	.comm	_conf,32,3                      ## @conf
	.comm	_MAX_CHOICES_RT,4,2             ## @MAX_CHOICES_RT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"csv"

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

L_.str.2:                               ## @.str.2
	.asciz	"html"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_max_choices                ; -- Begin function get_max_choices
	.p2align	2
_get_max_choices:                       ; @get_max_choices
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	stp	xzr, xzr, [sp, #16]
Lloh0:
	adrp	x19, _MAX_CHOICES@GOTPAGE
Lloh1:
	ldr	x19, [x19, _MAX_CHOICES@GOTPAGEOFF]
	str	xzr, [sp, #8]
	ldr	w21, [x19]
Lloh2:
	adrp	x20, _conf@GOTPAGE
Lloh3:
	ldr	x20, [x20, _conf@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #0
	b.le	LBB0_4
; %bb.1:
	ldr	w9, [x20, #24]
	cbz	w9, LBB0_5
; %bb.2:
	ldr	x9, [x20, #16]
	cbz	x9, LBB0_6
; %bb.3:
Lloh4:
	adrp	x9, _MAX_CHOICES_RT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MAX_CHOICES_RT@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w0, w8, w9, lt
	b	LBB0_8
LBB0_4:
	ldr	x8, [x20, #16]
Lloh7:
	adrp	x9, _MAX_CHOICES_RT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MAX_CHOICES_RT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w19, w21, w9, eq
	b	LBB0_7
LBB0_5:
	cmp	w8, w21
	csel	w0, w8, w21, lt
	b	LBB0_8
LBB0_6:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	mov	w2, #1
	bl	_find_output_type
	ldr	w8, [x20]
	cmp	x0, #0
	csel	w21, w8, w21, eq
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #16
	mov	w2, #1
	bl	_find_output_type
	ldr	w8, [x20]
	cmp	w8, #0
	ccmp	x0, #0, #0, gt
	csel	w21, w8, w21, eq
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	mov	w2, #1
	bl	_find_output_type
	ldr	x8, [x20, #8]
	ldr	w9, [x20]
	ldr	w10, [x19]
	cmp	w9, w10
	csel	w9, w9, w10, lt
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	csel	w19, w9, w21, eq
	ldr	x0, [sp, #24]
	bl	_free
	ldr	x0, [sp, #8]
	bl	_free
	ldr	x0, [sp, #16]
	bl	_free
LBB0_7:
	mov	x0, x19
LBB0_8:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CHOICES,4,2                ; @MAX_CHOICES
	.comm	_conf,32,3                      ; @conf
	.comm	_MAX_CHOICES_RT,4,2             ; @MAX_CHOICES_RT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"csv"

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

l_.str.2:                               ; @.str.2
	.asciz	"html"

.subsections_via_symbols
