	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_user_lang
_add_user_lang:                         ## @add_user_lang
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_MAX_LANGS@GOTPCREL(%rip), %rcx
	movl	$-1, %eax
	cmpl	%esi, (%rcx)
	jbe	LBB0_6
## %bb.1:
	movq	_max_lang_id@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jge	LBB0_3
## %bb.2:
	movl	%esi, (%rax)
LBB0_3:
	movq	_min_lang_id@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jle	LBB0_5
## %bb.4:
	movl	%esi, (%rax)
LBB0_5:
	movq	_user_lang_pairs@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	(%rdi), %ebx
	movq	_q_lang_id@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_field_value_hash
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_add_user_word
	movl	$1, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_LANGS,4,2                  ## @MAX_LANGS
	.comm	_max_lang_id,4,2                ## @max_lang_id
	.comm	_min_lang_id,4,2                ## @min_lang_id
	.comm	_user_lang_pairs,4,2            ## @user_lang_pairs
	.comm	_q_lang_id,4,2                  ## @q_lang_id
	.no_dead_strip	_add_user_lang
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_user_lang
_add_user_lang:                         ; @add_user_lang
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _MAX_LANGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_LANGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ls	LBB0_6
; %bb.1:
Lloh3:
	adrp	x8, _max_lang_id@GOTPAGE
Lloh4:
	ldr	x8, [x8, _max_lang_id@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w1
	b.ge	LBB0_3
; %bb.2:
	str	w1, [x8]
LBB0_3:
Lloh5:
	adrp	x8, _min_lang_id@GOTPAGE
Lloh6:
	ldr	x8, [x8, _min_lang_id@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w1
	b.le	LBB0_5
; %bb.4:
	str	w1, [x8]
LBB0_5:
Lloh7:
	adrp	x8, _user_lang_pairs@GOTPAGE
Lloh8:
	ldr	x8, [x8, _user_lang_pairs@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	w19, [x0]
Lloh9:
	adrp	x8, _q_lang_id@GOTPAGE
Lloh10:
	ldr	x8, [x8, _q_lang_id@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_field_value_hash
	mov	x1, x0
	mov	x0, x19
	bl	_add_user_word
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_LANGS,4,2                  ; @MAX_LANGS
	.comm	_max_lang_id,4,2                ; @max_lang_id
	.comm	_min_lang_id,4,2                ; @min_lang_id
	.comm	_user_lang_pairs,4,2            ; @user_lang_pairs
	.comm	_q_lang_id,4,2                  ; @q_lang_id
	.no_dead_strip	_add_user_lang
.subsections_via_symbols
