	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_frame
_setup_frame:                           ## @setup_frame
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rdx, %r13
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	(%r8), %rax
	movq	8(%rax), %r15
	movq	_SA_ONSTACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	callq	_on_sig_stack
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %r15
	addq	(%rax), %r15
LBB0_3:
	addq	$-40, %r15
	andq	$-16, %r15
	cmpl	$65, 8(%r14)
	jl	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_panic
LBB0_5:
	movq	_VERIFY_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movl	$40, %edx
	callq	_access_ok
	testl	%eax, %eax
	je	LBB0_17
## %bb.6:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_current_thread_info
	cmpq	$0, (%rax)
	movl	%ebx, %ecx
	je	LBB0_10
## %bb.7:
	xorl	%eax, %eax
	callq	_current_thread_info
	movl	%ebx, %ecx
	cmpl	$31, %ebx
	jg	LBB0_10
## %bb.8:
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	movl	%ebx, %ecx
	je	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	callq	_current_thread_info
	movq	(%rax), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movl	(%rax,%rcx,4), %ecx
LBB0_10:
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	movq	_SA_SIGINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	testl	%eax, (%r12)
	je	LBB0_12
## %bb.11:
	leaq	24(%r15), %rdi
	movq	%r13, %rsi
	callq	_copy_siginfo_to_user
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_12:
	leaq	20(%r15), %rsi
	xorl	%edi, %edi
	callq	___put_user
	movl	%eax, %r13d
	leaq	16(%r15), %rsi
	xorl	%edi, %edi
	callq	___put_user
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_current@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	leaq	4(%r15), %r12
	leaq	12(%r15), %rsi
	callq	___put_user
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	(%r14), %rax
	movq	8(%rax), %rdi
	callq	_sas_ss_flags
	leaq	8(%r15), %rsi
	movq	%rax, %rdi
	callq	___put_user
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	movq	%r12, %rsi
	callq	___put_user
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_setup_sigcontext
	movl	%eax, %ebx
	movq	%r15, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	$4, %edx
	callq	___copy_to_user
	movq	_SA_RESTORER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	testl	%ecx, (%r12)
	je	LBB0_14
## %bb.13:
	leaq	16(%r12), %rax
LBB0_16:
	movq	(%rax), %rbx
	movq	8(%r12), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_start_thread
	andl	$1073741823, %ebx               ## imm = 0x3FFFFFFF
	orq	$1073741824, %rbx               ## imm = 0x40000000
	movq	(%r14), %rax
	movq	%rbx, 32(%rax)
	movslq	-68(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	%rcx, 48(%rax)
	leaq	24(%r15), %rcx
	movq	%rcx, 56(%rax)
	movq	%r15, 64(%rax)
	movq	_USER_DS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_fs                         ## TAILCALL
LBB0_14:
	orl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	orl	-60(%rbp), %r13d                ## 4-byte Folded Reload
	orl	-56(%rbp), %r13d                ## 4-byte Folded Reload
	orl	-52(%rbp), %r13d                ## 4-byte Folded Reload
	orl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	orl	%ebx, %r13d
	orl	%eax, %r13d
	movq	32(%r15), %rdi
	callq	_gen_return_code
	orl	%r13d, %eax
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_15
LBB0_17:
	movq	_SIGSEGV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	%ebx, %edi
	jne	LBB0_19
## %bb.18:
	movq	_SIG_DFL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
LBB0_19:
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_force_sig                      ## TAILCALL
LBB0_15:
	leaq	32(%r15), %rax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_SA_ONSTACK,4,2                 ## @SA_ONSTACK
	.comm	_current,8,3                    ## @current
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Double exception sys_sigreturn\n"

	.comm	_VERIFY_WRITE,4,2               ## @VERIFY_WRITE
	.comm	_SA_SIGINFO,4,2                 ## @SA_SIGINFO
	.comm	_SA_RESTORER,4,2                ## @SA_RESTORER
	.comm	_USER_DS,4,2                    ## @USER_DS
	.comm	_SIGSEGV,4,2                    ## @SIGSEGV
	.comm	_SIG_DFL,8,3                    ## @SIG_DFL
	.no_dead_strip	_setup_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_frame
_setup_frame:                           ; @setup_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x26, x3
	mov	x24, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x4]
	ldr	x22, [x8, #8]
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _SA_ONSTACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SA_ONSTACK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x22
	bl	_on_sig_stack
	cbnz	w0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _current@GOTPAGE
Lloh4:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldp	x9, x8, [x8]
	add	x22, x8, x9
LBB0_3:
	sub	x8, x22, #40
	and	x22, x8, #0xfffffffffffffff0
	ldr	w8, [x19, #8]
	cmp	w8, #65
	b.lt	LBB0_5
; %bb.4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_5:
Lloh8:
	adrp	x8, _VERIFY_WRITE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VERIFY_WRITE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x22
	mov	w2, #40
	bl	_access_ok
	cbz	w0, LBB0_17
; %bb.6:
	bl	_current_thread_info
	ldr	x8, [x0]
	mov	x25, x21
	cbz	x8, LBB0_10
; %bb.7:
	bl	_current_thread_info
	mov	x25, x21
	cmp	w21, #31
	b.gt	LBB0_10
; %bb.8:
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	x25, x21
	cbz	x8, LBB0_10
; %bb.9:
	bl	_current_thread_info
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w25, [x8, w21, sxtw #2]
LBB0_10:
	ldr	w8, [x20]
Lloh11:
	adrp	x9, _SA_SIGINFO@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SA_SIGINFO@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	add	x0, x22, #24
	mov	x1, x24
	bl	_copy_siginfo_to_user
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_13
LBB0_12:
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
LBB0_13:
	add	x1, x22, #20
	mov	x0, #0
	bl	___put_user
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
	add	x1, x22, #16
	mov	x0, #0
	bl	___put_user
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
Lloh14:
	adrp	x24, _current@GOTPAGE
Lloh15:
	ldr	x24, [x24, _current@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x0, [x8]
	add	x23, x22, #4
	add	x1, x22, #12
	bl	___put_user
	mov	x27, x0
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	bl	_sas_ss_flags
	add	x1, x22, #8
	bl	___put_user
	mov	x28, x0
	ldr	x8, [x24]
	ldr	x0, [x8, #8]
	mov	x1, x23
	bl	___put_user
	mov	x23, x0
	mov	x0, x22
	mov	x1, x19
	bl	_setup_sigcontext
	mov	x24, x0
	mov	x0, x22
	mov	x1, x26
	mov	w2, #4
	bl	___copy_to_user
	ldr	w8, [x20]
Lloh16:
	adrp	x9, _SA_RESTORER@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SA_RESTORER@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.14:
	add	x23, x20, #16
LBB0_15:
	ldr	x21, [x23]
	ldr	x1, [x20, #8]
	mov	x0, x19
	mov	x2, x22
	bl	_start_thread
	mov	w8, #1073741824
	bfxil	x8, x21, #0, #30
	ldr	x9, [x19]
	str	x8, [x9, #32]
	sxtw	x8, w25
	add	x10, x22, #24
	stp	x8, x10, [x9, #48]
	str	x22, [x9, #64]
Lloh19:
	adrp	x8, _USER_DS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _USER_DS@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_set_fs
LBB0_16:
	ldp	w9, w8, [sp, #8]                ; 8-byte Folded Reload
	orr	w8, w9, w8
	ldr	w9, [sp, #4]                    ; 4-byte Folded Reload
	orr	w8, w8, w9
	orr	w8, w8, w27
	orr	w8, w8, w28
	orr	w8, w8, w23
	orr	w8, w8, w24
	orr	w24, w8, w0
	mov	x23, x22
	ldr	x0, [x23, #32]!
	bl	_gen_return_code
	orr	w8, w24, w0
	cbz	w8, LBB0_15
LBB0_17:
Lloh22:
	adrp	x8, _SIGSEGV@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SIGSEGV@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	cmp	w0, w21
	b.ne	LBB0_19
; %bb.18:
Lloh25:
	adrp	x8, _SIG_DFL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SIG_DFL@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	str	x8, [x20, #8]
LBB0_19:
Lloh28:
	adrp	x8, _current@GOTPAGE
Lloh29:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh30:
	ldr	x1, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_force_sig
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_SA_ONSTACK,4,2                 ; @SA_ONSTACK
	.comm	_current,8,3                    ; @current
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Double exception sys_sigreturn\n"

	.comm	_VERIFY_WRITE,4,2               ; @VERIFY_WRITE
	.comm	_SA_SIGINFO,4,2                 ; @SA_SIGINFO
	.comm	_SA_RESTORER,4,2                ; @SA_RESTORER
	.comm	_USER_DS,4,2                    ; @USER_DS
	.comm	_SIGSEGV,4,2                    ; @SIGSEGV
	.comm	_SIG_DFL,8,3                    ; @SIG_DFL
	.no_dead_strip	_setup_frame
.subsections_via_symbols
