	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pep_sendmsg
_pep_sendmsg:                           ## @pep_sendmsg
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rsi, %rdi
	callq	_pep_sk
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r14d
	movq	_MSG_OOB@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_2
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_27
LBB0_2:
	movq	_MSG_EOR@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_1
## %bb.3:
	movq	%r13, %rdi
	callq	_lock_sock
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	%r14d, %esi
	movq	%r13, %rdi
	callq	_sock_sndtimeo
	movq	%rax, -64(%rbp)
	movl	(%r13), %eax
	movq	_TCPF_LISTEN@GOTPCREL(%rip), %rcx
	movq	_TCPF_CLOSE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	btl	%eax, %edx
	jae	LBB0_6
## %bb.4:
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
LBB0_5:
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -44(%rbp)
	jmp	LBB0_26
LBB0_6:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	_TCP_ESTABLISHED@GOTPCREL(%rip), %rdx
	xorl	%r12d, %r12d
	movl	%eax, %ecx
	movq	%rdx, %rbx
	cmpl	(%rdx), %eax
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_10
LBB0_7:
	leaq	-64(%rbp), %rsi
	movq	%r13, %rdi
	callq	_sk_stream_wait_connect
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	jne	LBB0_26
## %bb.8:
	movl	(%r13), %ecx
	movq	_TCP_CLOSE_WAIT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_28
## %bb.9:
	movl	(%rbx), %eax
LBB0_10:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	cmpl	%eax, %ecx
	setne	%dil
	callq	_BUG_ON
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_atomic_read
	movl	%eax, %r12d
	movq	_wait@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	testl	%r12d, %r12d
	jne	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r15), %edi
	callq	_DEFINE_WAIT
	cmpq	$0, -64(%rbp)
	je	LBB0_23
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_signal_pending
	testq	%rax, %rax
	jne	LBB0_24
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%r13), %rdi
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_prepare_to_wait
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_atomic_read
	movq	%r13, %rdi
	leaq	-64(%rbp), %rsi
	movl	%eax, %edx
	callq	_sk_wait_event
	movl	%eax, %r12d
	movq	8(%r13), %rdi
	movq	%r15, %rsi
	callq	_finish_wait
	movl	(%r13), %eax
	cmpl	(%rbx), %eax
	je	LBB0_11
## %bb.15:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_16:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	testq	%r12, %r12
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_20
## %bb.17:
	movq	_MAX_PNPIPE_HEADER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r15, %rsi
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%r14d, %edx
	leaq	-44(%rbp), %rcx
	movq	%r13, %rdi
	callq	_sock_alloc_send_skb
	testq	%rax, %rax
	je	LBB0_22
## %bb.18:
	movq	%rax, %r12
	movq	_MAX_PHONET_HEADER@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$3, %rsi
	movq	%r12, %rdi
	callq	_skb_reserve
	movl	(%r13), %eax
	cmpl	(%rbx), %eax
	jne	LBB0_7
## %bb.19:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_atomic_read
	testl	%eax, %eax
	je	LBB0_7
LBB0_20:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_skb_put
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %esi
	movl	%eax, %edi
	movq	%r15, %rdx
	callq	_memcpy_fromiovec
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	js	LBB0_26
## %bb.21:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_pipe_skb_send
	testl	%eax, %eax
	cmovsl	%eax, %r15d
	movl	%r15d, -44(%rbp)
LBB0_22:
	xorl	%r12d, %r12d
	jmp	LBB0_26
LBB0_23:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -44(%rbp)
	jmp	LBB0_25
LBB0_24:
	movq	-64(%rbp), %rdi
	callq	_sock_intr_errno
	movl	%eax, -44(%rbp)
LBB0_25:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_26:
	movq	%r13, %rdi
	callq	_release_sock
	movq	%r12, %rdi
	callq	_kfree_skb
	movl	-44(%rbp), %eax
LBB0_27:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	_ECONNRESET@GOTPCREL(%rip), %rax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_OOB,4,2                    ## @MSG_OOB
	.comm	_MSG_EOR,4,2                    ## @MSG_EOR
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_MSG_DONTWAIT,4,2               ## @MSG_DONTWAIT
	.comm	_TCPF_LISTEN,4,2                ## @TCPF_LISTEN
	.comm	_TCPF_CLOSE,4,2                 ## @TCPF_CLOSE
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_TCP_ESTABLISHED,4,2            ## @TCP_ESTABLISHED
	.comm	_TCP_CLOSE_WAIT,4,2             ## @TCP_CLOSE_WAIT
	.comm	_ECONNRESET,4,2                 ## @ECONNRESET
	.comm	_wait,4,2                       ## @wait
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_current,4,2                    ## @current
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_MAX_PNPIPE_HEADER,8,3          ## @MAX_PNPIPE_HEADER
	.comm	_MAX_PHONET_HEADER,8,3          ## @MAX_PHONET_HEADER
	.no_dead_strip	_pep_sendmsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pep_sendmsg
_pep_sendmsg:                           ; @pep_sendmsg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	mov	x0, x1
	bl	_pep_sk
	ldr	w26, [x22]
Lloh0:
	adrp	x8, _MSG_OOB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_OOB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w26
	b.eq	LBB0_2
LBB0_1:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_27
LBB0_2:
Lloh6:
	adrp	x8, _MSG_EOR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_EOR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w26
	b.eq	LBB0_1
; %bb.3:
	mov	x23, x0
	mov	x0, x19
	bl	_lock_sock
Lloh9:
	adrp	x8, _MSG_DONTWAIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_DONTWAIT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	and	w1, w8, w26
	mov	x0, x19
	bl	_sock_sndtimeo
	str	x0, [sp, #24]
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _TCPF_LISTEN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TCPF_LISTEN@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _TCPF_CLOSE@GOTPAGE
Lloh16:
	ldr	x10, [x10, _TCPF_CLOSE@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w10, w9
	mov	x21, #0
	lsr	w9, w9, w8
	tbz	w9, #0, LBB0_7
; %bb.4:
Lloh18:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w8, w8
LBB0_6:
	str	w8, [sp, #20]
	b	LBB0_26
LBB0_7:
Lloh20:
	adrp	x28, _TCP_ESTABLISHED@GOTPAGE
Lloh21:
	ldr	x28, [x28, _TCP_ESTABLISHED@GOTPAGEOFF]
	ldr	w10, [x28]
	mov	x9, x8
	cmp	w8, w10
	b.eq	LBB0_11
LBB0_8:
	add	x1, sp, #24
	mov	x0, x19
	bl	_sk_stream_wait_connect
	str	w0, [sp, #20]
	cbnz	w0, LBB0_26
; %bb.9:
	ldr	w9, [x19]
Lloh22:
	adrp	x8, _TCP_CLOSE_WAIT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TCP_CLOSE_WAIT@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmp	w9, w8
	b.eq	LBB0_28
; %bb.10:
	ldr	w8, [x28]
LBB0_11:
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	cmp	w9, w8
	cset	w0, ne
	bl	_BUG_ON
	mov	x0, x23
	bl	_atomic_read
	mov	x25, x0
Lloh25:
	adrp	x24, _wait@GOTPAGE
Lloh26:
	ldr	x24, [x24, _wait@GOTPAGEOFF]
Lloh27:
	adrp	x27, _current@GOTPAGE
Lloh28:
	ldr	x27, [x27, _current@GOTPAGEOFF]
Lloh29:
	adrp	x21, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh30:
	ldr	x21, [x21, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	cbnz	w25, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x24]
	bl	_DEFINE_WAIT
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_23
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x27]
	bl	_signal_pending
	cbnz	x0, LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x19, #8]
	ldr	w2, [x21]
	mov	x1, x24
	bl	_prepare_to_wait
	mov	x0, x23
	bl	_atomic_read
	mov	x2, x0
	add	x1, sp, #24
	mov	x0, x19
	bl	_sk_wait_event
	mov	x25, x0
	ldr	x0, [x19, #8]
	mov	x1, x24
	bl	_finish_wait
	ldr	w8, [x19]
	ldr	w9, [x28]
	cmp	w8, w9
	b.eq	LBB0_12
; %bb.16:
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_8
LBB0_17:
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
	cbnz	x21, LBB0_21
; %bb.18:
Lloh31:
	adrp	x8, _MAX_PNPIPE_HEADER@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MAX_PNPIPE_HEADER@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	add	x1, x8, x20
Lloh34:
	adrp	x8, _MSG_DONTWAIT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MSG_DONTWAIT@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	and	w2, w8, w26
	add	x3, sp, #20
	mov	x0, x19
	bl	_sock_alloc_send_skb
	mov	x21, x0
	cbz	x0, LBB0_26
; %bb.19:
Lloh37:
	adrp	x8, _MAX_PHONET_HEADER@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MAX_PHONET_HEADER@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	add	x1, x8, #3
	mov	x0, x21
	bl	_skb_reserve
	ldr	w8, [x19]
	ldr	w9, [x28]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.20:
	mov	x0, x23
	bl	_atomic_read
	cbz	w0, LBB0_8
LBB0_21:
	mov	x0, x21
	mov	x1, x20
	bl	_skb_put
	ldr	w1, [x22, #4]
	mov	x2, x20
	bl	_memcpy_fromiovec
	str	w0, [sp, #20]
	tbnz	w0, #31, LBB0_26
; %bb.22:
	mov	x0, x19
	mov	x1, x21
	bl	_pipe_skb_send
	mov	x21, #0
	cmp	w0, #0
	csel	w8, w0, w20, lt
	b	LBB0_6
LBB0_23:
Lloh40:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [sp, #20]
	b	LBB0_25
LBB0_24:
	ldr	x0, [sp, #24]
	bl	_sock_intr_errno
	str	w0, [sp, #20]
LBB0_25:
	ldr	x21, [sp, #8]                   ; 8-byte Folded Reload
LBB0_26:
	mov	x0, x19
	bl	_release_sock
	mov	x0, x21
	bl	_kfree_skb
	ldr	w0, [sp, #20]
LBB0_27:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_28:
Lloh43:
	adrp	x8, _ECONNRESET@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ECONNRESET@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_OOB,4,2                    ; @MSG_OOB
	.comm	_MSG_EOR,4,2                    ; @MSG_EOR
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_TCPF_LISTEN,4,2                ; @TCPF_LISTEN
	.comm	_TCPF_CLOSE,4,2                 ; @TCPF_CLOSE
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_TCP_ESTABLISHED,4,2            ; @TCP_ESTABLISHED
	.comm	_TCP_CLOSE_WAIT,4,2             ; @TCP_CLOSE_WAIT
	.comm	_ECONNRESET,4,2                 ; @ECONNRESET
	.comm	_wait,4,2                       ; @wait
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_current,4,2                    ; @current
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_MAX_PNPIPE_HEADER,8,3          ; @MAX_PNPIPE_HEADER
	.comm	_MAX_PHONET_HEADER,8,3          ; @MAX_PHONET_HEADER
	.no_dead_strip	_pep_sendmsg
.subsections_via_symbols
