	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_delete_user_lang            ## -- Begin function do_delete_user_lang
	.p2align	4, 0x90
_do_delete_user_lang:                   ## @do_delete_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movl	%edi, %r15d
	callq	_get_user
	testl	%ebx, %ebx
	js	LBB0_3
## %bb.1:
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_MAX_LANGS@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jle	LBB0_3
## %bb.4:
	movq	_LEV_TARG_LANG_DEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	incq	%rdi
	movl	$12, %esi
	movl	%r15d, %edx
	callq	_alloc_log_event
	movq	(%rax), %rsi
	movl	%ebx, (%rsi)
	movq	%r14, %rdi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_del_langs                      ## TAILCALL
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_LANGS,4,2                  ## @MAX_LANGS
	.comm	_LEV_TARG_LANG_DEL,8,3          ## @LEV_TARG_LANG_DEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_delete_user_lang            ; -- Begin function do_delete_user_lang
	.p2align	2
_do_delete_user_lang:                   ; @do_delete_user_lang
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x21, x0
	bl	_get_user
	tbnz	w19, #31, LBB0_4
; %bb.1:
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _MAX_LANGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_LANGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w19
	b.le	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _LEV_TARG_LANG_DEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LEV_TARG_LANG_DEL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x0, x8, #1
	mov	w1, #12
	mov	x2, x21
	bl	_alloc_log_event
	ldr	x1, [x0]
	str	w19, [x1]
	mov	x0, x20
	mov	w2, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_del_langs
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_LANGS,4,2                  ; @MAX_LANGS
	.comm	_LEV_TARG_LANG_DEL,8,3          ; @LEV_TARG_LANG_DEL
.subsections_via_symbols
