	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fbsd_make_corefile_notes
_fbsd_make_corefile_notes:              ## @fbsd_make_corefile_notes
	.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	%rsi, %r14
	movq	%rdi, %r15
	callq	_elf_elfheader
	movq	_ELFOSABI_FREEBSD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	(%rax), %rax
	movq	_EI_OSABI@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%ecx, (%rax,%rdx,4)
	leaq	-52(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_fill_gregset
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ptid_get_pid
	movq	_stop_signal@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	movq	%rbx, %r9
	callq	_elfcore_write_prstatus
	movq	%rax, %rbx
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	movl	$-1, %esi
	callq	_fill_fpregset
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	movl	$4, %r8d
	callq	_elfcore_write_prfpreg
	movb	$0, -41(%rbp)
	leaq	-41(%rbp), %rcx
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	movl	$1, %r8d
	callq	_elfcore_write_thrmisc
	movq	%rax, %r12
	xorl	%edi, %edi
	callq	_get_exec_file
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	xorl	%edi, %edi
	callq	_get_exec_file
	movq	%rax, %rdi
	movl	$47, %esi
	callq	_strrchr
	movq	%rax, %rbx
	incq	%rbx
	movq	%rbx, %rdi
	callq	_xstrdup
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_get_inferior_args
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_get_inferior_args
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	movq	%r13, %rsi
	movq	%rax, %rcx
	xorl	%r8d, %r8d
	callq	_reconcat
	movq	%rax, %r13
LBB0_3:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	movq	%r13, %r8
	callq	_elfcore_write_prpsinfo
	movq	%rax, %r12
LBB0_4:
	movq	_xfree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_make_cleanup
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ELFOSABI_FREEBSD,4,2           ## @ELFOSABI_FREEBSD
	.comm	_EI_OSABI,8,3                   ## @EI_OSABI
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_stop_signal,4,2                ## @stop_signal
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fbsd_make_corefile_notes
_fbsd_make_corefile_notes:              ; @fbsd_make_corefile_notes
	.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	x19, x1
	mov	x20, x0
	bl	_elf_elfheader
Lloh0:
	adrp	x8, _ELFOSABI_FREEBSD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ELFOSABI_FREEBSD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x0]
Lloh3:
	adrp	x10, _EI_OSABI@GOTPAGE
Lloh4:
	ldr	x10, [x10, _EI_OSABI@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
	add	x0, sp, #12
	mov	w1, #-1
	bl	_fill_gregset
Lloh6:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh7:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_ptid_get_pid
	mov	x3, x0
Lloh9:
	adrp	x8, _stop_signal@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stop_signal@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	add	x5, sp, #12
	mov	x0, x20
	mov	x1, #0
	mov	x2, x19
	bl	_elfcore_write_prstatus
	mov	x21, x0
	add	x0, sp, #8
	mov	w1, #-1
	bl	_fill_fpregset
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	w4, #4
	bl	_elfcore_write_prfpreg
	mov	x1, x0
	strb	wzr, [sp, #7]
	add	x3, sp, #7
	mov	x0, x20
	mov	x2, x19
	mov	w4, #1
	bl	_elfcore_write_thrmisc
	mov	x21, x0
	mov	w0, #0
	bl	_get_exec_file
	cbz	x0, LBB0_4
; %bb.1:
	mov	w0, #0
	bl	_get_exec_file
	mov	w1, #47
	bl	_strrchr
	add	x22, x0, #1
	mov	x0, x22
	bl	_xstrdup
	mov	x23, x0
	bl	_get_inferior_args
	cbz	x0, LBB0_3
; %bb.2:
	bl	_get_inferior_args
	mov	x3, x0
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	mov	x1, x23
	mov	x4, #0
	bl	_reconcat
	mov	x23, x0
LBB0_3:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	x3, x22
	mov	x4, x23
	bl	_elfcore_write_prpsinfo
	mov	x21, x0
LBB0_4:
Lloh14:
	adrp	x8, _xfree@GOTPAGE
Lloh15:
	ldr	x8, [x8, _xfree@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_make_cleanup
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ELFOSABI_FREEBSD,4,2           ; @ELFOSABI_FREEBSD
	.comm	_EI_OSABI,8,3                   ; @EI_OSABI
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_stop_signal,4,2                ; @stop_signal
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

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