	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arch_init_registers            ## -- Begin function arch_init_registers
	.p2align	4, 0x90
_arch_init_registers:                   ## @arch_init_registers
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edi, %esi
	movq	_PTRACE_GETFPXREGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-8(%rbp), %rcx
	xorl	%edx, %edx
	callq	_ptrace
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_EIO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_panic
LBB0_3:
	movq	_have_fpx_regs@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTRACE_GETFPXREGS,4,2          ## @PTRACE_GETFPXREGS
	.comm	_errno,8,3                      ## @errno
	.comm	_EIO,8,3                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"check_ptrace : PTRACE_GETFPXREGS failed, errno = %d"

	.comm	_have_fpx_regs,8,3              ## @have_fpx_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arch_init_registers            ; -- Begin function arch_init_registers
	.p2align	2
_arch_init_registers:                   ; @arch_init_registers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x1, x0
Lloh0:
	adrp	x8, _PTRACE_GETFPXREGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTRACE_GETFPXREGS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x3, sp, #8
	mov	w2, #0
	bl	_ptrace
	cbz	w0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
Lloh6:
	adrp	x8, _EIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x1, x8
	b.eq	LBB0_3
; %bb.2:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_3:
Lloh11:
	adrp	x8, _have_fpx_regs@GOTPAGE
Lloh12:
	ldr	x8, [x8, _have_fpx_regs@GOTPAGEOFF]
Lloh13:
	str	xzr, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_PTRACE_GETFPXREGS,4,2          ; @PTRACE_GETFPXREGS
	.comm	_errno,8,3                      ; @errno
	.comm	_EIO,8,3                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"check_ptrace : PTRACE_GETFPXREGS failed, errno = %d"

	.comm	_have_fpx_regs,8,3              ; @have_fpx_regs
.subsections_via_symbols
