	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_linux_rt_sigsuspend            ## -- Begin function linux_rt_sigsuspend
	.p2align	4, 0x90
_linux_rt_sigsuspend:                   ## @linux_rt_sigsuspend
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_rt_sigsuspend@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rsi), %ecx
	movl	4(%rsi), %edx
	leaq	L_.str(%rip), %rsi
	callq	_LINUX_CTR2
	cmpl	$4, (%rbx)
	jne	LBB0_1
## %bb.2:
	movl	4(%rbx), %edi
	leaq	-24(%rbp), %rsi
	movl	$4, %edx
	callq	_copyin
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	-24(%rbp), %rdi
	leaq	-20(%rbp), %rsi
	callq	_linux_to_bsd_sigset
	movl	-20(%rbp), %esi
	movq	%r14, %rdi
	callq	_kern_sigsuspend
	jmp	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rt_sigsuspend,4,2              ## @rt_sigsuspend
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p, %ld"

	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_linux_rt_sigsuspend            ; -- Begin function linux_rt_sigsuspend
	.p2align	2
_linux_rt_sigsuspend:                   ; @linux_rt_sigsuspend
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _rt_sigsuspend@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rt_sigsuspend@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	w3, w2, [x1]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_LINUX_CTR2
	ldr	w8, [x20]
	cmp	w8, #4
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x20, #4]
	add	x1, sp, #12
	mov	w2, #4
	bl	_copyin
	cbnz	w0, LBB0_4
; %bb.2:
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_linux_to_bsd_sigset
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_kern_sigsuspend
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_rt_sigsuspend,4,2              ; @rt_sigsuspend
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p, %ld"

	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
