	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aux_addr
_aux_addr:                              ## @aux_addr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	_PTRACE_GETREGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rcx
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_ptrace
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_trycall
	movl	-32(%rbp), %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	addl	$4, %ebx
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_pt_read
	testq	%rax, %rax
	jne	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	addl	$4, %ebx
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_pt_read
	testq	%rax, %rax
	jne	LBB0_2
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	$8, %ebx
	cmpl	%r14d, %eax
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	4(%rbx), %esi
	movl	%r15d, %edi
	callq	_pt_read
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTRACE_GETREGS,4,2             ## @PTRACE_GETREGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ptrace get sp for aux"

	.no_dead_strip	_aux_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aux_addr
_aux_addr:                              ; @aux_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _PTRACE_GETREGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTRACE_GETREGS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x3, sp, #8
	mov	x1, x20
	mov	x2, #0
	bl	_ptrace
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_trycall
	ldr	w21, [sp, #8]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w21, w21, #4
	mov	x0, x20
	mov	x1, x21
	bl	_pt_read
	cbnz	x0, LBB0_1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w21, w21, #4
	mov	x0, x20
	mov	x1, x21
	bl	_pt_read
	cbnz	x0, LBB0_2
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #8
	cmp	w0, w19
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	w1, w21, #4
	mov	x0, x20
	bl	_pt_read
	cbnz	w0, LBB0_3
; %bb.5:
	mov	w21, #0
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PTRACE_GETREGS,4,2             ; @PTRACE_GETREGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ptrace get sp for aux"

	.no_dead_strip	_aux_addr
.subsections_via_symbols
