	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_exist
_create_exist:                          ## @create_exist
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdi
	callq	_rump_sys_chdir
	movl	%eax, %edi
	callq	_RL
	movq	_O_RDWR@GOTPCREL(%rip), %r15
	movq	_O_CREAT@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	orl	(%r15), %esi
	movq	_O_EXCL@GOTPCREL(%rip), %r13
	orl	(%r13), %esi
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	movl	$438, %edx                      ## imm = 0x1B6
	callq	_rump_sys_open
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_RL
	movl	%ebx, %edi
	callq	_rump_sys_close
	movl	%eax, %edi
	callq	_RL
	movq	%r14, %rdi
	callq	_rump_sys_unlink
	movl	%eax, %edi
	callq	_RL
	movl	(%r12), %esi
	orl	(%r15), %esi
	movq	%r14, %rdi
	movl	$438, %edx                      ## imm = 0x1B6
	callq	_rump_sys_open
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_RL
	movl	%ebx, %edi
	callq	_rump_sys_close
	movl	%eax, %edi
	callq	_RL
	movl	(%r12), %esi
	orl	(%r15), %esi
	movq	%r14, %rdi
	movl	$438, %edx                      ## imm = 0x1B6
	callq	_rump_sys_open
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_RL
	movl	%ebx, %edi
	callq	_rump_sys_close
	movl	%eax, %edi
	callq	_RL
	movq	_EEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r12), %esi
	orl	(%r15), %esi
	orl	(%r13), %esi
	movq	%r14, %rdi
	movl	$438, %edx                      ## imm = 0x1B6
	callq	_rump_sys_open
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ATF_REQUIRE_ERRNO
	movq	%r14, %rdi
	callq	_rump_sys_unlink
	movl	%eax, %edi
	callq	_RL
	leaq	L_.str.1(%rip), %rdi
	callq	_rump_sys_chdir
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RL                             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hoge"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_EXCL,4,2                     ## @O_EXCL
	.comm	_EEXIST,4,2                     ## @EEXIST
L_.str.1:                               ## @.str.1
	.asciz	"/"

	.no_dead_strip	_create_exist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_exist
_create_exist:                          ; @create_exist
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x0, x1
	bl	_rump_sys_chdir
	bl	_RL
Lloh0:
	adrp	x21, _O_RDWR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _O_RDWR@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x22, _O_CREAT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _O_CREAT@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w8, w9, w8
Lloh4:
	adrp	x23, _O_EXCL@GOTPAGE
Lloh5:
	ldr	x23, [x23, _O_EXCL@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w1, w8, w9
Lloh6:
	adrp	x19, l_.str@PAGE
Lloh7:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #438
	bl	_rump_sys_open
	mov	x20, x0
	bl	_RL
	mov	x0, x20
	bl	_rump_sys_close
	bl	_RL
	mov	x0, x19
	bl	_rump_sys_unlink
	bl	_RL
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #438
	bl	_rump_sys_open
	mov	x20, x0
	bl	_RL
	mov	x0, x20
	bl	_rump_sys_close
	bl	_RL
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #438
	bl	_rump_sys_open
	mov	x20, x0
	bl	_RL
	mov	x0, x20
	bl	_rump_sys_close
	bl	_RL
Lloh8:
	adrp	x8, _EEXIST@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x23]
	orr	w1, w8, w9
	mov	x0, x19
	mov	w2, #438
	bl	_rump_sys_open
	mov	x1, x0
	mov	x0, x20
	bl	_ATF_REQUIRE_ERRNO
	mov	x0, x19
	bl	_rump_sys_unlink
	bl	_RL
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_rump_sys_chdir
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_RL
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hoge"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_EXCL,4,2                     ; @O_EXCL
	.comm	_EEXIST,4,2                     ; @EEXIST
l_.str.1:                               ; @.str.1
	.asciz	"/"

	.no_dead_strip	_create_exist
.subsections_via_symbols
