	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_ppoll                      ## -- Begin function sys_ppoll
	.p2align	4, 0x90
_sys_ppoll:                             ## @sys_ppoll
	.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
	movl	%r8d, %r13d
	movq	%rcx, %rbx
	movl	%esi, %r14d
	movq	%rdi, %r15
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.6:
	xorl	%r12d, %r12d
	movq	%rdx, %rdi
	xorl	%esi, %esi
	callq	_user_get
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	testq	%rbx, %rbx
	jne	LBB0_3
	jmp	LBB0_10
LBB0_1:
	movl	$-1, %r12d
	testq	%rbx, %rbx
	je	LBB0_10
LBB0_3:
	cmpl	$8, %r13d
	jne	LBB0_4
## %bb.8:
	movq	%rbx, %rdi
	callq	_user_get
	testq	%rax, %rax
	je	LBB0_9
LBB0_7:
	movq	__EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	__EINVAL@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	_sigmask_set_temp
LBB0_10:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sys_poll                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__EFAULT,4,2                    ## @_EFAULT
	.comm	__EINVAL,4,2                    ## @_EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sys_ppoll                      ; -- Begin function sys_ppoll
	.p2align	2
_sys_ppoll:                             ; @sys_ppoll
	.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	x22, x4
	mov	x21, x3
	mov	x19, x1
	mov	x20, x0
	cbz	x2, LBB0_3
; %bb.1:
	mov	x0, x2
	mov	x1, #0
	bl	_user_get
	cbnz	x0, LBB0_6
; %bb.2:
	mov	w23, #0
	cbnz	x21, LBB0_4
	b	LBB0_10
LBB0_3:
	mov	w23, #-1
	cbz	x21, LBB0_10
LBB0_4:
	cmp	w22, #8
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x21
	bl	_user_get
	cbz	x0, LBB0_9
LBB0_6:
Lloh0:
	adrp	x8, __EFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, __EFAULT@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x8, __EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, __EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	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
LBB0_9:
	bl	_sigmask_set_temp
LBB0_10:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	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
	b	_sys_poll
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	__EFAULT,4,2                    ; @_EFAULT
	.comm	__EINVAL,4,2                    ; @_EINVAL
.subsections_via_symbols
