	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_file
_get_file:                              ## @get_file
	.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	_vdso_found@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	je	LBB0_2
## %bb.1:
	movq	_vdso_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_13
LBB0_2:
	leaq	-56(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_find_vdso_map
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_4:
	movq	-48(%rbp), %rbx
	movq	-56(%rbp), %rdi
	subq	%rdi, %rbx
	movq	%rbx, %rsi
	callq	_memdup
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r14
	movq	_vdso_file@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_mkstemp
	testl	%eax, %eax
	js	LBB0_9
## %bb.6:
	movl	%eax, %r15d
	movl	%eax, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_write
	cmpq	%rax, %rbx
	jne	LBB0_10
## %bb.7:
	movq	(%r13), %rbx
	jmp	LBB0_11
LBB0_9:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movl	%r15d, %edi
	callq	_close
LBB0_12:
	movq	%r14, %rdi
	callq	_free
	xorl	%eax, %eax
	testq	%rbx, %rbx
	setne	%al
	movl	%eax, (%r12)
LBB0_13:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vdso_found,4,2                 ## @vdso_found
	.comm	_vdso_file,8,3                  ## @vdso_file
	.no_dead_strip	_get_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_file
_get_file:                              ; @get_file
	.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
Lloh0:
	adrp	x22, _vdso_found@GOTPAGE
Lloh1:
	ldr	x22, [x22, _vdso_found@GOTPAGEOFF]
	ldr	w8, [x22]
	cbz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _vdso_file@GOTPAGE
Lloh3:
	ldr	x8, [x8, _vdso_file@GOTPAGEOFF]
Lloh4:
	ldr	x20, [x8]
	b	LBB0_9
LBB0_2:
	add	x0, sp, #8
	mov	x1, sp
	bl	_find_vdso_map
	cbz	x0, LBB0_4
LBB0_3:
	mov	x20, #0
	b	LBB0_9
LBB0_4:
	ldp	x8, x0, [sp]
	sub	x20, x8, x0
	mov	x1, x20
	bl	_memdup
	cbz	x0, LBB0_3
; %bb.5:
	mov	x19, x0
Lloh5:
	adrp	x23, _vdso_file@GOTPAGE
Lloh6:
	ldr	x23, [x23, _vdso_file@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_mkstemp
	tbnz	w0, #31, LBB0_7
; %bb.6:
	mov	x21, x0
	mov	x1, x19
	mov	x2, x20
	bl	_write
	ldr	x8, [x23]
	cmp	x20, x0
	csel	x20, x8, xzr, eq
	mov	x0, x21
	bl	_close
	b	LBB0_8
LBB0_7:
	mov	x20, #0
LBB0_8:
	mov	x0, x19
	bl	_free
	cmp	x20, #0
	cset	w8, ne
	str	w8, [x22]
LBB0_9:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_vdso_found,4,2                 ; @vdso_found
	.comm	_vdso_file,8,3                  ; @vdso_file
	.no_dead_strip	_get_file
.subsections_via_symbols
