	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_security_level
_update_security_level:                 ## @update_security_level
	.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
	pushq	%rax
	movl	$4120, %eax                     ## imm = 0x1018
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_TRACE
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	movq	(%rax,%rbx,8), %rax
	testq	%r15, %r15
	jne	LBB0_2
## %bb.1:
	cmpq	%rcx, %rax
	je	LBB0_13
LBB0_2:
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.8:
	testq	%r15, %r15
	je	LBB0_9
LBB0_10:
	movq	%rbx, -4152(%rbp)               ## 8-byte Spill
	movq	$0, -4144(%rbp)
	movq	_hcpl@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_IDS_SEC_LEVEL0@GOTPCREL(%rip), %rax
	movslq	(%rax), %r14
	addq	%r15, %r14
	leaq	-4144(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movl	%r13d, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_LoadStringW
	movq	%rbx, %rdi
	movq	%rbx, %r13
	callq	_debugstr_w
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_TRACE
	movl	20(%r12), %edi
	movq	_IDC_SEC_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_SetWindowTextW
	movq	$0, -4144(%rbp)
	movq	_hcpl@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_IDS_SEC_LEVEL0_INFO@GOTPCREL(%rip), %rax
	movq	%r15, %rbx
	shlq	$4, %rbx
	addq	(%rax), %rbx
	movq	%r13, %rdi
	callq	_ARRAY_SIZE
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_LoadStringW
	movq	%r13, %rdi
	callq	_debugstr_w
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_TRACE
	movl	20(%r12), %edi
	movq	_IDC_SEC_LEVEL_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetDlgItem
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_SetWindowTextW
	testq	%r15, %r15
	je	LBB0_12
## %bb.11:
	movl	16(%r12), %edi
	movq	_TBM_SETPOS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NUM_TRACKBAR_POS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	subq	%r15, %rcx
	callq	_SendMessageW
LBB0_12:
	movq	(%r12), %rax
	movq	-4152(%rbp), %rcx               ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	%rax, 8(%r12)
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$4120, %rsp                     ## imm = 0x1018
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	16(%r12), %edi
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	_SW_HIDE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_SW_NORMAL@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	callq	_ShowWindow
	testq	%r15, %r15
	jne	LBB0_10
LBB0_9:
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_index_from_urltemplate
	movq	%rax, %r15
	jmp	LBB0_10
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(%p, lv_index: %u, tb_index: %u)\n"

	.comm	_SW_NORMAL,4,2                  ## @SW_NORMAL
	.comm	_SW_HIDE,4,2                    ## @SW_HIDE
	.comm	_hcpl,4,2                       ## @hcpl
	.comm	_IDS_SEC_LEVEL0,4,2             ## @IDS_SEC_LEVEL0
L_.str.1:                               ## @.str.1
	.asciz	"new level #%d: %s\n"

	.comm	_IDC_SEC_LEVEL,4,2              ## @IDC_SEC_LEVEL
	.comm	_IDS_SEC_LEVEL0_INFO,8,3        ## @IDS_SEC_LEVEL0_INFO
L_.str.2:                               ## @.str.2
	.asciz	"new level info: %s\n"

	.comm	_IDC_SEC_LEVEL_INFO,4,2         ## @IDC_SEC_LEVEL_INFO
	.comm	_TBM_SETPOS,4,2                 ## @TBM_SETPOS
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_NUM_TRACKBAR_POS,4,2           ## @NUM_TRACKBAR_POS
	.no_dead_strip	_update_security_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_security_level
_update_security_level:                 ; @update_security_level
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w27, -72
	.cfi_offset w28, -80
	mov	w9, #4128
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #32
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	stp	x1, x2, [sp, #8]
	str	x0, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldp	x8, x9, [x19]
	ldr	x8, [x8, x20, lsl #3]
	cbnz	x21, LBB0_2
; %bb.1:
	cmp	x8, x9
	b.eq	LBB0_9
LBB0_2:
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.ne	LBB0_4
; %bb.3:
Lloh7:
	adrp	x9, _SW_NORMAL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SW_NORMAL@GOTPAGEOFF]
	ldr	w0, [x19, #16]
Lloh9:
	adrp	x10, _SW_HIDE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SW_HIDE@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w1, [x8]
	bl	_ShowWindow
LBB0_4:
	cbnz	x21, LBB0_6
; %bb.5:
	ldr	x8, [x19]
	ldr	x0, [x8, x20, lsl #3]
	bl	_index_from_urltemplate
	mov	x21, x0
LBB0_6:
Lloh11:
	adrp	x24, _hcpl@GOTPAGE
Lloh12:
	ldr	x24, [x24, _hcpl@GOTPAGEOFF]
	str	xzr, [sp, #24]
	ldr	w22, [x24]
Lloh13:
	adrp	x8, _IDS_SEC_LEVEL0@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IDS_SEC_LEVEL0@GOTPAGEOFF]
Lloh15:
	ldrsw	x8, [x8]
	add	x23, x21, x8
	add	x0, sp, #24
	bl	_ARRAY_SIZE
	mov	x3, x0
	add	x2, sp, #24
	mov	x0, x22
	mov	x1, x23
	bl	_LoadStringW
	add	x0, sp, #24
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	ldr	w0, [x19, #20]
Lloh18:
	adrp	x8, _IDC_SEC_LEVEL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IDC_SEC_LEVEL@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_GetDlgItem
	add	x1, sp, #24
	bl	_SetWindowTextW
	str	xzr, [sp, #24]
	ldr	w22, [x24]
Lloh21:
	adrp	x8, _IDS_SEC_LEVEL0_INFO@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IDS_SEC_LEVEL0_INFO@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	add	x23, x8, x21, lsl #4
	add	x0, sp, #24
	bl	_ARRAY_SIZE
	mov	x3, x0
	add	x2, sp, #24
	mov	x0, x22
	mov	x1, x23
	bl	_LoadStringW
	add	x0, sp, #24
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
	ldr	w0, [x19, #20]
Lloh26:
	adrp	x8, _IDC_SEC_LEVEL_INFO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IDC_SEC_LEVEL_INFO@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_GetDlgItem
	add	x1, sp, #24
	bl	_SetWindowTextW
	cbz	x21, LBB0_8
; %bb.7:
	ldr	w0, [x19, #16]
Lloh29:
	adrp	x8, _TBM_SETPOS@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TBM_SETPOS@GOTPAGEOFF]
Lloh31:
	adrp	x9, _TRUE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
Lloh34:
	ldr	w2, [x9]
Lloh35:
	adrp	x8, _NUM_TRACKBAR_POS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _NUM_TRACKBAR_POS@GOTPAGEOFF]
Lloh37:
	ldrsw	x8, [x8]
	sub	x3, x8, x21
	bl	_SendMessageW
LBB0_8:
	ldr	x8, [x19]
	ldr	x8, [x8, x20, lsl #3]
	str	x8, [x19, #8]
LBB0_9:
	ldur	x8, [x29, #-72]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	add	sp, sp, #1, lsl #12             ; =4096
	add	sp, sp, #32
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh33
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(%p, lv_index: %u, tb_index: %u)\n"

	.comm	_SW_NORMAL,4,2                  ; @SW_NORMAL
	.comm	_SW_HIDE,4,2                    ; @SW_HIDE
	.comm	_hcpl,4,2                       ; @hcpl
	.comm	_IDS_SEC_LEVEL0,4,2             ; @IDS_SEC_LEVEL0
l_.str.1:                               ; @.str.1
	.asciz	"new level #%d: %s\n"

	.comm	_IDC_SEC_LEVEL,4,2              ; @IDC_SEC_LEVEL
	.comm	_IDS_SEC_LEVEL0_INFO,8,3        ; @IDS_SEC_LEVEL0_INFO
l_.str.2:                               ; @.str.2
	.asciz	"new level info: %s\n"

	.comm	_IDC_SEC_LEVEL_INFO,4,2         ; @IDC_SEC_LEVEL_INFO
	.comm	_TBM_SETPOS,4,2                 ; @TBM_SETPOS
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_NUM_TRACKBAR_POS,4,2           ; @NUM_TRACKBAR_POS
	.no_dead_strip	_update_security_level
.subsections_via_symbols
