	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_reopen_exec_file               ## -- Begin function reopen_exec_file
	.p2align	4, 0x90
_reopen_exec_file:                      ## @reopen_exec_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_exec_bfd@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.1:
	movq	_target_shortname@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	(%rbx), %rdi
	callq	_bfd_get_filename
	movl	%eax, %edi
	callq	_xstrdup
	movq	%rax, %r14
	movq	_xfree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_make_cleanup
	movq	(%rbx), %rdi
	callq	_bfd_get_mtime
	movq	%rax, %rbx
	leaq	-24(%rbp), %rsi
	movq	%r14, %rdi
	callq	_stat
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	cmpq	-24(%rbp), %rbx
	je	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_exec_open                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_exec_bfd,8,3                   ## @exec_bfd
	.comm	_target_shortname,4,2           ## @target_shortname
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"exec"

	.comm	_xfree,4,2                      ## @xfree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_reopen_exec_file               ; -- Begin function reopen_exec_file
	.p2align	2
_reopen_exec_file:                      ; @reopen_exec_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x20, _exec_bfd@GOTPAGE
Lloh1:
	ldr	x20, [x20, _exec_bfd@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _target_shortname@GOTPAGE
Lloh3:
	ldr	x8, [x8, _target_shortname@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x20]
	bl	_bfd_get_filename
	bl	_xstrdup
	mov	x19, x0
Lloh7:
	adrp	x8, _xfree@GOTPAGE
Lloh8:
	ldr	x8, [x8, _xfree@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_make_cleanup
	ldr	x0, [x20]
	bl	_bfd_get_mtime
	mov	x20, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_stat
	ldr	x8, [sp, #8]
	cmp	x20, #0
	ccmp	x20, x8, #4, ne
	b.ne	LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_exec_open
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_exec_bfd,8,3                   ; @exec_bfd
	.comm	_target_shortname,4,2           ; @target_shortname
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"exec"

	.comm	_xfree,4,2                      ; @xfree
.subsections_via_symbols
