	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_freebsd32_setcontext           ## -- Begin function freebsd32_setcontext
	.p2align	4, 0x90
_freebsd32_setcontext:                  ## @freebsd32_setcontext
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	_UC_COPY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-16(%rbp), %rsi
	callq	_copyin
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	leaq	-12(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ia32_set_mcontext
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	_SIG_SETMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_kern_sigprocmask
	jmp	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jne	LBB0_6
LBB0_5:
	movq	_EJUSTRETURN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_UC_COPY_SIZE,4,2               ## @UC_COPY_SIZE
	.comm	_SIG_SETMASK,4,2                ## @SIG_SETMASK
	.comm	_EJUSTRETURN,4,2                ## @EJUSTRETURN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_freebsd32_setcontext           ; -- Begin function freebsd32_setcontext
	.p2align	2
_freebsd32_setcontext:                  ; @freebsd32_setcontext
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x1]
	cbz	x0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _UC_COPY_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UC_COPY_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x20, sp, #8
	add	x1, sp, #8
	bl	_copyin
	cbnz	w0, LBB0_6
; %bb.2:
	orr	x1, x20, #0x4
	mov	x0, x19
	bl	_ia32_set_mcontext
	cbnz	w0, LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _SIG_SETMASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIG_SETMASK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	mov	x3, #0
	mov	w4, #0
	bl	_kern_sigprocmask
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	cbnz	w0, LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _EJUSTRETURN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EJUSTRETURN@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_UC_COPY_SIZE,4,2               ; @UC_COPY_SIZE
	.comm	_SIG_SETMASK,4,2                ; @SIG_SETMASK
	.comm	_EJUSTRETURN,4,2                ; @EJUSTRETURN
.subsections_via_symbols
