	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_thres
_set_thres:                             ## @set_thres
	.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
	subq	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%esi, -308(%rbp)
	movq	_IB_PC_FIRST_F@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_IB_PC_LAST_F@GOTPCREL(%rip), %r13
	cmpl	(%r13), %ebx
	jle	LBB0_1
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.7:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r14
	leaq	-304(%rbp), %r15
	movq	_threshold_str@GOTPCREL(%rip), %r12
	movq	%rdi, -320(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rbx), %eax
	cmpl	(%r13), %ebx
	movl	%eax, %ebx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_mad_field_name
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_thresholds@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	leaq	-308(%rbp), %rdx
	callq	_mad_encode_field
	movl	-308(%rbp), %r8d
	movq	%r15, %rdi
	movl	$255, %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rcx
	callq	_snprintf
	movq	(%r12), %r14
	movq	%r14, %rdi
	callq	_strlen
	movq	%r12, %r13
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r12,%rax), %esi
	incl	%esi
	movq	%r13, %r12
	movq	%r14, %rdi
	callq	_realloc
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	callq	_strlen
	movslq	%eax, %rdi
	addq	(%r12), %rdi
	movq	%r15, %rsi
	callq	_strcpy
	movq	_IB_PC_LAST_F@GOTPCREL(%rip), %r13
	movq	-320(%rbp), %r14                ## 8-byte Reload
	jmp	LBB0_5
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_PC_FIRST_F,4,2              ## @IB_PC_FIRST_F
	.comm	_IB_PC_LAST_F,4,2               ## @IB_PC_LAST_F
	.comm	_thresholds,4,2                 ## @thresholds
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%s = %u]"

	.comm	_threshold_str,8,3              ## @threshold_str
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Failed to allocate memory: %s\n"

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_set_thres
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_thres
_set_thres:                             ; @set_thres
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #288]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #304]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _IB_PC_FIRST_F@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_PC_FIRST_F@GOTPAGEOFF]
	str	w1, [sp, #4]
Lloh5:
	ldr	w20, [x8]
Lloh6:
	adrp	x24, _IB_PC_LAST_F@GOTPAGE
Lloh7:
	ldr	x24, [x24, _IB_PC_LAST_F@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w20, w8
	b.le	LBB0_3
LBB0_1:
	ldur	x8, [x29, #-88]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.2:
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #320]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #304]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_3:
	mov	x19, x0
Lloh11:
	adrp	x25, _thresholds@GOTPAGE
Lloh12:
	ldr	x25, [x25, _thresholds@GOTPAGEOFF]
Lloh13:
	adrp	x21, l_.str@PAGE
Lloh14:
	add	x21, x21, l_.str@PAGEOFF
Lloh15:
	adrp	x26, _threshold_str@GOTPAGE
Lloh16:
	ldr	x26, [x26, _threshold_str@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w8, w20, #1
	ldr	w9, [x24]
	cmp	w20, w9
	mov	x20, x8
	b.ge	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_mad_field_name
	mov	x1, x0
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x25]
	add	x2, sp, #4
	mov	x1, x20
	bl	_mad_encode_field
	ldr	w4, [sp, #4]
	add	x0, sp, #8
	mov	w1, #255
	mov	x2, x21
	mov	x3, x19
	bl	_snprintf
	ldr	x22, [x26]
	mov	x0, x22
	bl	_strlen
	mov	x23, x0
	add	x0, sp, #8
	bl	_strlen
	add	w8, w23, w0
	add	w1, w8, #1
	mov	x0, x22
	bl	_realloc
	str	x0, [x26]
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_strlen
	ldr	x8, [x26]
	add	x0, x8, w0, sxtw
	add	x1, sp, #8
	bl	_strcpy
	b	LBB0_4
LBB0_8:
Lloh17:
	adrp	x8, _stderr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
Lloh20:
	adrp	x8, _errno@GOTPAGE
Lloh21:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_PC_FIRST_F,4,2              ; @IB_PC_FIRST_F
	.comm	_IB_PC_LAST_F,4,2               ; @IB_PC_LAST_F
	.comm	_thresholds,4,2                 ; @thresholds
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%s = %u]"

	.comm	_threshold_str,8,3              ; @threshold_str
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Failed to allocate memory: %s\n"

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_set_thres
.subsections_via_symbols
