	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_android_app_pre_exec_cmd       ## -- Begin function android_app_pre_exec_cmd
	.p2align	4, 0x90
_android_app_pre_exec_cmd:              ## @android_app_pre_exec_cmd
	.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
	leal	-128(%rbx), %eax
	cmpl	$8, %eax
	ja	LBB0_13
## %bb.1:
	movq	%rdi, %r15
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	leaq	20(%r15), %r14
	movq	%r14, %rdi
	callq	_pthread_mutex_lock
	movl	%ebx, (%r15)
LBB0_6:
	addq	$24, %r15
	movq	%r15, %rdi
	callq	_pthread_cond_broadcast
	movq	%r14, %rdi
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pthread_mutex_unlock           ## TAILCALL
LBB0_9:
	addq	$24, %r15
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pthread_cond_broadcast         ## TAILCALL
LBB0_2:
	leaq	20(%r15), %r14
	movq	%r14, %rdi
	callq	_pthread_mutex_lock
	movq	48(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_AInputQueue_detachLooper
LBB0_4:
	movq	56(%r15), %rax
	movq	%rax, 48(%r15)
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_LOGV
	movq	48(%r15), %rdi
	movl	40(%r15), %esi
	movq	_LOOPER_ID_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	36(%r15), %r8
	xorl	%ecx, %ecx
	callq	_AInputQueue_attachLooper
	jmp	LBB0_6
LBB0_8:
	leaq	20(%r15), %rbx
	movq	%rbx, %rdi
	callq	_pthread_mutex_lock
	movl	28(%r15), %eax
	movl	%eax, 32(%r15)
	addq	$24, %r15
	movq	%r15, %rdi
	callq	_pthread_cond_broadcast
	movq	%rbx, %rdi
	jmp	LBB0_7
LBB0_12:
	movl	$1, 4(%r15)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	16(%r15), %edi
	movq	8(%r15), %rax
	movl	(%rax), %esi
	callq	_AConfiguration_fromAssetManager
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_print_cur_config               ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Attaching input queue to looper"

	.comm	_LOOPER_ID_INPUT,4,2            ## @LOOPER_ID_INPUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_android_app_pre_exec_cmd       ; -- Begin function android_app_pre_exec_cmd
	.p2align	2
_android_app_pre_exec_cmd:              ; @android_app_pre_exec_cmd
	.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
	sub	w8, w1, #128
	cmp	w8, #8
	b.hi	LBB0_12
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x20, x1
	add	x21, x19, #20
	mov	x0, x21
	bl	_pthread_mutex_lock
	str	w20, [x19], #24
	mov	x0, x19
	bl	_pthread_cond_broadcast
	mov	x0, x21
	b	LBB0_10
LBB0_3:
	add	x0, x19, #24
	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	_pthread_cond_broadcast
LBB0_4:
	add	x20, x19, #20
	mov	x0, x20
	bl	_pthread_mutex_lock
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_AInputQueue_detachLooper
LBB0_6:
	ldr	x8, [x19, #56]
	str	x8, [x19, #48]
	cbz	x8, LBB0_9
; %bb.7:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LOGV
	ldr	x0, [x19, #48]
	ldr	w1, [x19, #40]
Lloh4:
	adrp	x8, _LOOPER_ID_INPUT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LOOPER_ID_INPUT@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	add	x4, x19, #36
	mov	x3, #0
	bl	_AInputQueue_attachLooper
	b	LBB0_9
LBB0_8:
	add	x20, x19, #20
	mov	x0, x20
	bl	_pthread_mutex_lock
	ldr	w8, [x19, #28]
	str	w8, [x19, #32]
LBB0_9:
	add	x0, x19, #24
	bl	_pthread_cond_broadcast
	mov	x0, x20
LBB0_10:
	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	_pthread_mutex_unlock
LBB0_11:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_12:
	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
LBB0_13:
	ldr	w0, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
	bl	_AConfiguration_fromAssetManager
	mov	x0, x19
	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	_print_cur_config
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Attaching input queue to looper"

	.comm	_LOOPER_ID_INPUT,4,2            ; @LOOPER_ID_INPUT
.subsections_via_symbols
