	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hppa_require_attach            ## -- Begin function hppa_require_attach
	.p2align	4, 0x90
_hppa_require_attach:                   ## @hppa_require_attach
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	movq	_errno@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	movq	_TT_PROC_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TT_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%ebx, %esi
	movl	%ecx, %edx
	movl	%ecx, %r8d
	movq	%rcx, %r9
	callq	_call_real_ttrace
	cmpq	$0, (%r14)
	je	LBB0_1
## %bb.4:
	movq	$0, (%r14)
	movl	%ebx, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_attach                         ## TAILCALL
LBB0_1:
	movq	_process_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_VFORKING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.2:
	movq	_STOPPED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
LBB0_3:
	movq	_DONT_ATTACH_CONTINUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_update_thread_state_after_attach
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_process_state,8,3              ## @process_state
	.comm	_errno,8,3                      ## @errno
	.comm	_TT_PROC_STOP,4,2               ## @TT_PROC_STOP
	.comm	_TT_NIL,8,3                     ## @TT_NIL
	.comm	_VFORKING,8,3                   ## @VFORKING
	.comm	_STOPPED,8,3                    ## @STOPPED
	.comm	_DONT_ATTACH_CONTINUE,4,2       ## @DONT_ATTACH_CONTINUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hppa_require_attach            ; -- Begin function hppa_require_attach
	.p2align	2
_hppa_require_attach:                   ; @hppa_require_attach
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _errno@GOTPAGE
Lloh1:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	str	xzr, [x20]
Lloh2:
	adrp	x8, _TT_PROC_STOP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TT_PROC_STOP@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _TT_NIL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TT_NIL@GOTPAGEOFF]
Lloh7:
	ldr	x2, [x8]
	mov	x1, x19
	mov	x3, x2
	mov	x4, x2
	mov	x5, x2
	bl	_call_real_ttrace
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
	str	xzr, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_attach
LBB0_2:
Lloh8:
	adrp	x8, _process_state@GOTPAGE
Lloh9:
	ldr	x8, [x8, _process_state@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh10:
	adrp	x10, _VFORKING@GOTPAGE
Lloh11:
	ldr	x10, [x10, _VFORKING@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_4
; %bb.3:
Lloh13:
	adrp	x9, _STOPPED@GOTPAGE
Lloh14:
	ldr	x9, [x9, _STOPPED@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	str	x9, [x8]
LBB0_4:
Lloh16:
	adrp	x8, _DONT_ATTACH_CONTINUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DONT_ATTACH_CONTINUE@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_update_thread_state_after_attach
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_process_state,8,3              ; @process_state
	.comm	_errno,8,3                      ; @errno
	.comm	_TT_PROC_STOP,4,2               ; @TT_PROC_STOP
	.comm	_TT_NIL,8,3                     ; @TT_NIL
	.comm	_VFORKING,8,3                   ; @VFORKING
	.comm	_STOPPED,8,3                    ; @STOPPED
	.comm	_DONT_ATTACH_CONTINUE,4,2       ; @DONT_ATTACH_CONTINUE
.subsections_via_symbols
