	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_output_count
_set_output_count:                      ## @set_output_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movl	(%rax), %edx
	leal	-128(%rdx), %eax
	cmpl	$3, %eax
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movl	(%rsi), %eax
	movl	4(%rsi), %ecx
	cmpl	%ecx, %eax
	cmovll	%eax, %ecx
	movl	%ecx, (%rdi)
	popq	%rbp
	retq
LBB0_3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	popq	%rbp
	jmp	_elog                           ## TAILCALL
LBB0_4:
	cmpl	$0, (%rsi)
	jle	LBB0_10
## %bb.5:
	cmpl	$0, 4(%rsi)
	jg	LBB0_6
	jmp	LBB0_10
LBB0_7:
	movl	(%rsi), %eax
	xorl	%ecx, %ecx
	subl	4(%rsi), %eax
	cmovll	%ecx, %eax
	movl	%eax, (%rdi)
	popq	%rbp
	retq
LBB0_8:
	cmpl	$0, (%rsi)
	jle	LBB0_10
## %bb.9:
	cmpl	$0, 4(%rsi)
	je	LBB0_6
LBB0_10:
	movl	$0, (%rdi)
	popq	%rbp
	retq
LBB0_6:
	movl	$1, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unrecognized set op: %d"

	.no_dead_strip	_set_output_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_output_count
_set_output_count:                      ; @set_output_count
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	w2, [x8]
	sub	w8, w2, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldp	w8, w9, [x1]
	cmp	w8, w9
	csel	w8, w8, w9, lt
	str	w8, [x0]
	ret
LBB0_3:
Lloh2:
	adrp	x8, _ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	b	_elog
LBB0_4:
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:
	ldr	w8, [x1, #4]
	cmp	w8, #1
	b.ge	LBB0_10
	b	LBB0_9
LBB0_6:
	ldp	w8, w9, [x1]
	subs	w8, w8, w9
	csel	w8, wzr, w8, lt
	str	w8, [x0]
	ret
LBB0_7:
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.8:
	ldr	w8, [x1, #4]
	cbz	w8, LBB0_10
LBB0_9:
	str	wzr, [x0]
	ret
LBB0_10:
	mov	w8, #1
	str	w8, [x0]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unrecognized set op: %d"

	.no_dead_strip	_set_output_count
.subsections_via_symbols
