	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function android_app_create
_android_app_create:                    ## @android_app_create
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$48, %edi
	callq	_malloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	%r14, 40(%rbx)
	leaq	16(%rbx), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_pthread_mutex_init
	leaq	20(%rbx), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_pthread_cond_init
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_malloc
	movq	%rax, 32(%rbx)
	movq	%r12, (%rbx)
	movq	%rax, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_memcpy
LBB0_2:
	leaq	-56(%rbp), %rdi
	callq	_pipe
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_LOGE
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_4:
	movl	-56(%rbp), %eax
	movl	%eax, 8(%rbx)
	movl	-52(%rbp), %eax
	movl	%eax, 12(%rbx)
	leaq	-60(%rbp), %r12
	movq	%r12, %rdi
	callq	_pthread_attr_init
	movq	_PTHREAD_CREATE_DETACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_pthread_attr_setdetachstate
	movq	%rbx, %rdi
	addq	$28, %rdi
	movq	_android_app_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	movq	%rbx, %rcx
	callq	_pthread_create
	movq	%r14, %rdi
	callq	_pthread_mutex_lock
	cmpl	$0, 24(%rbx)
	jne	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pthread_cond_wait
	cmpl	$0, 24(%rbx)
	je	LBB0_5
LBB0_7:
	movq	%r14, %rdi
	callq	_pthread_mutex_unlock
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not create pipe: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_PTHREAD_CREATE_DETACHED,4,2    ## @PTHREAD_CREATE_DETACHED
	.comm	_android_app_entry,4,2          ## @android_app_entry
	.no_dead_strip	_android_app_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function android_app_create
_android_app_create:                    ; @android_app_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	mov	w0, #48
	bl	_malloc
	mov	x19, x0
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	str	x20, [x19, #40]
	add	x20, x19, #16
	mov	x0, x20
	mov	x1, #0
	bl	_pthread_mutex_init
	add	x21, x19, #20
	mov	x0, x21
	mov	x1, #0
	bl	_pthread_cond_init
	cbz	x23, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_malloc
	str	x0, [x19, #32]
	str	x22, [x19]
	mov	x1, x23
	mov	x2, x22
	bl	_memcpy
LBB0_2:
	add	x0, sp, #8
	bl	_pipe
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_strerror
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LOGE
	mov	x19, #0
	b	LBB0_7
LBB0_4:
	ldr	d0, [sp, #8]
	str	d0, [x19, #8]
	add	x0, sp, #4
	bl	_pthread_attr_init
Lloh5:
	adrp	x8, _PTHREAD_CREATE_DETACHED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PTHREAD_CREATE_DETACHED@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x0, sp, #4
	bl	_pthread_attr_setdetachstate
	add	x0, x19, #28
Lloh8:
	adrp	x8, _android_app_entry@GOTPAGE
Lloh9:
	ldr	x8, [x8, _android_app_entry@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	add	x1, sp, #4
	mov	x3, x19
	bl	_pthread_create
	mov	x0, x20
	bl	_pthread_mutex_lock
	ldr	w8, [x19, #24]
	cbnz	w8, LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_pthread_cond_wait
	ldr	w8, [x19, #24]
	cbz	w8, LBB0_5
LBB0_6:
	mov	x0, x20
	bl	_pthread_mutex_unlock
LBB0_7:
	mov	x0, x19
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not create pipe: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_PTHREAD_CREATE_DETACHED,4,2    ; @PTHREAD_CREATE_DETACHED
	.comm	_android_app_entry,4,2          ; @android_app_entry
	.no_dead_strip	_android_app_create
.subsections_via_symbols
