	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pep_recvmsg
_pep_recvmsg:                           ## @pep_recvmsg
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rsi, %r14
	movb	(%rsi), %cl
	movl	$1, %eax
	shll	%cl, %eax
	movl	%r9d, %ebx
	movl	%r8d, %r15d
	movq	%rdx, %r12
	movq	_TCPF_LISTEN@GOTPCREL(%rip), %rcx
	movq	_TCPF_CLOSE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
	andl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_ENOTCONN@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_25
LBB0_3:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	_MSG_OOB@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	jne	LBB0_5
## %bb.4:
	movq	_SOCK_URGINLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_sock_flag
	testq	%rax, %rax
	je	LBB0_9
LBB0_5:
	movq	%r14, %rdi
	callq	_pep_sk
	movq	%rax, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movq	%rax, %r13
	movq	_PN_PIPE_NO_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_pep_ctrlreq_error
	movl	(%r12), %eax
	movq	_MSG_OOB@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r12)
	jmp	LBB0_17
LBB0_6:
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movq	_MSG_OOB@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_9
## %bb.7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_9:
	leaq	-44(%rbp), %rcx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_skb_recv_datagram
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_lock_sock
	testq	%r13, %r13
	je	LBB0_10
## %bb.14:
	movslq	(%r14), %rax
	movq	_TCP_ESTABLISHED@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	callq	_pipe_grant_credits
LBB0_16:
	movq	%r14, %rdi
	callq	_release_sock
	movl	(%r12), %eax
LBB0_17:
	movq	_MSG_EOR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r12)
	movq	(%r13), %rbx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rdx, %rbx
	jbe	LBB0_19
## %bb.18:
	movq	_MSG_TRUNC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r12)
	movq	%rdx, %rbx
LBB0_19:
	movl	4(%r12), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_skb_copy_datagram_iovec
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	jne	LBB0_23
## %bb.20:
	movq	_MSG_TRUNC@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_22
## %bb.21:
	movq	(%r13), %rbx
LBB0_22:
	movl	%ebx, -44(%rbp)
LBB0_23:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_skb_free_datagram
LBB0_24:
	movl	-44(%rbp), %eax
LBB0_25:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	-44(%rbp), %eax
	movq	_ENOTCONN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_13
## %bb.11:
	movslq	(%r14), %rax
	movq	_TCP_CLOSE_WAIT@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_13
## %bb.12:
	movq	_ECONNRESET@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -44(%rbp)
LBB0_13:
	movq	%r14, %rdi
	callq	_release_sock
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_TCPF_LISTEN,4,2                ## @TCPF_LISTEN
	.comm	_TCPF_CLOSE,4,2                 ## @TCPF_CLOSE
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_MSG_OOB,4,2                    ## @MSG_OOB
	.comm	_SOCK_URGINLINE,4,2             ## @SOCK_URGINLINE
	.comm	_PN_PIPE_NO_ERROR,4,2           ## @PN_PIPE_NO_ERROR
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TCP_CLOSE_WAIT,8,3             ## @TCP_CLOSE_WAIT
	.comm	_ECONNRESET,4,2                 ## @ECONNRESET
	.comm	_TCP_ESTABLISHED,8,3            ## @TCP_ESTABLISHED
	.comm	_MSG_EOR,4,2                    ## @MSG_EOR
	.comm	_MSG_TRUNC,4,2                  ## @MSG_TRUNC
	.no_dead_strip	_pep_recvmsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pep_recvmsg
_pep_recvmsg:                           ; @pep_recvmsg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x5
	mov	x24, x4
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	ldr	w8, [x1]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh0:
	adrp	x9, _TCPF_LISTEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TCPF_LISTEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _TCPF_CLOSE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _TCPF_CLOSE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	and	w0, w9, w8
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_21
LBB0_3:
Lloh8:
	adrp	x25, _MSG_OOB@GOTPAGE
Lloh9:
	ldr	x25, [x25, _MSG_OOB@GOTPAGEOFF]
	ldr	w8, [x25]
	tst	w8, w20
	b.ne	LBB0_5
; %bb.4:
Lloh10:
	adrp	x8, _SOCK_URGINLINE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SOCK_URGINLINE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sock_flag
	cbz	x0, LBB0_9
LBB0_5:
	mov	x0, x19
	bl	_pep_sk
	bl	_skb_dequeue
	cbz	x0, LBB0_7
; %bb.6:
	mov	x23, x0
Lloh13:
	adrp	x8, _PN_PIPE_NO_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PN_PIPE_NO_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x23
	bl	_pep_ctrlreq_error
	ldr	w8, [x25]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
	b	LBB0_13
LBB0_7:
	ldr	w8, [x25]
	tst	w8, w20
	b.eq	LBB0_9
; %bb.8:
Lloh19:
	adrp	x8, _EINVAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
LBB0_9:
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x20
	mov	x2, x24
	bl	_skb_recv_datagram
	mov	x23, x0
	mov	x0, x19
	bl	_lock_sock
	cbz	x23, LBB0_22
; %bb.10:
	ldrsw	x8, [x19]
Lloh21:
	adrp	x9, _TCP_ESTABLISHED@GOTPAGE
Lloh22:
	ldr	x9, [x9, _TCP_ESTABLISHED@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_pipe_grant_credits
LBB0_12:
	mov	x0, x19
	bl	_release_sock
	ldr	w8, [x21]
LBB0_13:
Lloh24:
	adrp	x9, _MSG_EOR@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MSG_EOR@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x21]
	ldr	x24, [x23]
	cmp	x24, x22
	b.ls	LBB0_15
; %bb.14:
Lloh27:
	adrp	x9, _MSG_TRUNC@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MSG_TRUNC@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x21]
	mov	x24, x22
LBB0_15:
	ldr	w2, [x21, #4]
	mov	x0, x23
	mov	w1, #0
	mov	x3, x24
	bl	_skb_copy_datagram_iovec
	str	w0, [sp, #12]
	cbnz	w0, LBB0_19
; %bb.16:
Lloh30:
	adrp	x8, _MSG_TRUNC@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MSG_TRUNC@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_18
; %bb.17:
	ldr	x24, [x23]
LBB0_18:
	str	w24, [sp, #12]
LBB0_19:
	mov	x0, x19
	mov	x1, x23
	bl	_skb_free_datagram
LBB0_20:
	ldr	w0, [sp, #12]
LBB0_21:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_22:
	ldr	w8, [sp, #12]
Lloh33:
	adrp	x9, _ENOTCONN@GOTPAGE
Lloh34:
	ldr	x9, [x9, _ENOTCONN@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	cmn	w8, w9
	b.ne	LBB0_25
; %bb.23:
	ldrsw	x8, [x19]
Lloh36:
	adrp	x9, _TCP_CLOSE_WAIT@GOTPAGE
Lloh37:
	ldr	x9, [x9, _TCP_CLOSE_WAIT@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_25
; %bb.24:
Lloh39:
	adrp	x8, _ECONNRESET@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ECONNRESET@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [sp, #12]
LBB0_25:
	mov	x0, x19
	bl	_release_sock
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_TCPF_LISTEN,4,2                ; @TCPF_LISTEN
	.comm	_TCPF_CLOSE,4,2                 ; @TCPF_CLOSE
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_MSG_OOB,4,2                    ; @MSG_OOB
	.comm	_SOCK_URGINLINE,4,2             ; @SOCK_URGINLINE
	.comm	_PN_PIPE_NO_ERROR,4,2           ; @PN_PIPE_NO_ERROR
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TCP_CLOSE_WAIT,8,3             ; @TCP_CLOSE_WAIT
	.comm	_ECONNRESET,4,2                 ; @ECONNRESET
	.comm	_TCP_ESTABLISHED,8,3            ; @TCP_ESTABLISHED
	.comm	_MSG_EOR,4,2                    ; @MSG_EOR
	.comm	_MSG_TRUNC,4,2                  ; @MSG_TRUNC
	.no_dead_strip	_pep_recvmsg
.subsections_via_symbols
