	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_input_st_string_cb_disable_kiosk_mode
_menu_input_st_string_cb_disable_kiosk_mode: ## @menu_input_st_string_cb_disable_kiosk_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	cmpb	$0, (%rsi)
	je	LBB0_6
## %bb.2:
	xorl	%eax, %eax
	callq	_menu_input_dialog_get_buffer
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, %rbx
	movl	4(%rax), %esi
	movq	%r14, %rdi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	$0, (%rbx)
	movq	_MSG_INPUT_KIOSK_MODE_PASSWORD_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_MSG_INPUT_KIOSK_MODE_PASSWORD_NOK@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	_MESSAGE_QUEUE_ICON_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_MESSAGE_QUEUE_CATEGORY_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	movl	%eax, %edi
	movl	$1, %esi
	movl	$100, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_runloop_msg_queue_push
LBB0_6:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_menu_input_dialog_end          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INPUT_KIOSK_MODE_PASSWORD_OK,4,2 ## @MSG_INPUT_KIOSK_MODE_PASSWORD_OK
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ## @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ## @MESSAGE_QUEUE_CATEGORY_INFO
	.comm	_MSG_INPUT_KIOSK_MODE_PASSWORD_NOK,4,2 ## @MSG_INPUT_KIOSK_MODE_PASSWORD_NOK
	.no_dead_strip	_menu_input_st_string_cb_disable_kiosk_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_input_st_string_cb_disable_kiosk_mode
_menu_input_st_string_cb_disable_kiosk_mode: ; @menu_input_st_string_cb_disable_kiosk_mode
	.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
	cbz	x1, LBB0_6
; %bb.1:
	ldrb	w8, [x1]
	cbz	w8, LBB0_6
; %bb.2:
	bl	_menu_input_dialog_get_buffer
	mov	x20, x0
	bl	_config_get_ptr
	mov	x19, x0
	ldr	w1, [x0, #4]
	mov	x0, x20
	bl	_string_is_equal
	cbz	x0, LBB0_4
; %bb.3:
	str	wzr, [x19]
Lloh0:
	adrp	x8, _MSG_INPUT_KIOSK_MODE_PASSWORD_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_INPUT_KIOSK_MODE_PASSWORD_OK@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _MSG_INPUT_KIOSK_MODE_PASSWORD_NOK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_INPUT_KIOSK_MODE_PASSWORD_NOK@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
Lloh4:
	adrp	x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGEOFF]
Lloh6:
	ldr	w5, [x8]
Lloh7:
	adrp	x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGEOFF]
Lloh9:
	ldr	w6, [x8]
	mov	w1, #1
	mov	w2, #100
	mov	w3, #1
	mov	x4, #0
	bl	_runloop_msg_queue_push
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_menu_input_dialog_end
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INPUT_KIOSK_MODE_PASSWORD_OK,4,2 ; @MSG_INPUT_KIOSK_MODE_PASSWORD_OK
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ; @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ; @MESSAGE_QUEUE_CATEGORY_INFO
	.comm	_MSG_INPUT_KIOSK_MODE_PASSWORD_NOK,4,2 ; @MSG_INPUT_KIOSK_MODE_PASSWORD_NOK
	.no_dead_strip	_menu_input_st_string_cb_disable_kiosk_mode
.subsections_via_symbols
