	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exec_setregs                   ## -- Begin function exec_setregs
	.p2align	4, 0x90
_exec_setregs:                          ## @exec_setregs
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	16(%rdi), %r14
	movq	$0, 16(%r14)
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_utrap_free
	movq	$0, 8(%r14)
LBB0_2:
	movq	(%r12), %r13
	movq	8(%r12), %r12
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_rounddown
	movq	%rax, %rbx
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_bzero
	movq	%r13, %rdi
	movl	$32, %esi
	callq	_bzero
	movq	24(%r13), %rax
	movq	%r15, (%rax)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	24(%r13), %rcx
	movq	%rax, 24(%rcx)
	movq	_SPOFF@GOTPCREL(%rip), %rax
	subq	(%rax), %rbx
	addq	$-4, %rbx
	movq	24(%r13), %rax
	movq	%rbx, 48(%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	leaq	4(%rax), %rcx
	movq	%rcx, 16(%r13)
	movq	%rax, 8(%r13)
	movq	_TSTATE_IE@GOTPCREL(%rip), %rax
	movq	_TSTATE_PEF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_TSTATE_MM_TSO@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%r13)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPOFF,8,3                      ## @SPOFF
	.comm	_TSTATE_IE,4,2                  ## @TSTATE_IE
	.comm	_TSTATE_PEF,4,2                 ## @TSTATE_PEF
	.comm	_TSTATE_MM_TSO,4,2              ## @TSTATE_MM_TSO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_exec_setregs                   ; -- Begin function exec_setregs
	.p2align	2
_exec_setregs:                          ; @exec_setregs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x24, [x0, #16]
	str	xzr, [x24, #16]
	ldr	x0, [x24, #8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_utrap_free
	str	xzr, [x24, #8]
LBB0_2:
	ldp	x21, x22, [x21]
	mov	x0, x20
	mov	w1, #16
	bl	_rounddown
	mov	x23, x0
	mov	x0, x22
	mov	w1, #32
	bl	_bzero
	mov	x0, x21
	mov	w1, #32
	bl	_bzero
	ldr	x8, [x21, #24]
	str	x20, [x8]
	ldr	x8, [x24]
	ldr	x8, [x8]
	ldr	x9, [x21, #24]
	str	x8, [x9, #24]
Lloh0:
	adrp	x8, _SPOFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPOFF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	x8, x23, x8
	sub	x8, x8, #4
	ldr	x9, [x21, #24]
	str	x8, [x9, #48]
	ldr	x8, [x19]
	add	x9, x8, #4
	stp	x8, x9, [x21, #8]
Lloh3:
	adrp	x8, _TSTATE_IE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TSTATE_IE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _TSTATE_PEF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TSTATE_PEF@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _TSTATE_MM_TSO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TSTATE_MM_TSO@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SPOFF,8,3                      ; @SPOFF
	.comm	_TSTATE_IE,4,2                  ; @TSTATE_IE
	.comm	_TSTATE_PEF,4,2                 ; @TSTATE_PEF
	.comm	_TSTATE_MM_TSO,4,2              ; @TSTATE_MM_TSO
.subsections_via_symbols
