	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pn_recvmsg
_pn_recvmsg:                            ## @pn_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	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -44(%rbp)
	movq	_MSG_OOB@GOTPCREL(%rip), %rax
	testl	%r9d, (%rax)
	jne	LBB0_11
## %bb.1:
	movl	%r9d, %r15d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	leaq	-44(%rbp), %rcx
	movq	%rsi, %rdi
	movl	%r9d, %esi
	movl	%r8d, %edx
	callq	_skb_recv_datagram
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	%rax, %r12
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	-64(%rbp), %rsi
	movq	%rax, %rdi
	callq	_pn_skb_get_src_sockaddr
	movslq	(%r12), %r14
	cmpq	%r13, %r14
	jbe	LBB0_4
## %bb.3:
	movq	_MSG_TRUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	movl	%r13d, %r14d
LBB0_4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %edx
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r14d, %ecx
	callq	_skb_copy_datagram_iovec
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	movl	%r13d, -44(%rbp)
	jmp	LBB0_10
LBB0_6:
	movq	_MSG_TRUNC@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_8
## %bb.7:
	movl	(%r12), %r14d
LBB0_8:
	movl	%r14d, -44(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	movq	16(%rbp), %r14
	leaq	-64(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	$4, (%r14)
LBB0_10:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_skb_free_datagram
LBB0_11:
	movl	-44(%rbp), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_MSG_OOB,4,2                    ## @MSG_OOB
	.comm	_MSG_TRUNC,4,2                  ## @MSG_TRUNC
	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	_pn_recvmsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pn_recvmsg
_pn_recvmsg:                            ; @pn_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
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [sp, #4]
Lloh3:
	adrp	x8, _MSG_OOB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_OOB@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w5
	b.ne	LBB0_11
; %bb.1:
	mov	x20, x6
	mov	x23, x5
	mov	x24, x3
	mov	x22, x2
	mov	x19, x1
	add	x3, sp, #4
	mov	x0, x1
	mov	x1, x5
	mov	x2, x4
	bl	_skb_recv_datagram
	cbz	x0, LBB0_11
; %bb.2:
	mov	x21, x0
	add	x1, sp, #8
	bl	_pn_skb_get_src_sockaddr
	ldrsw	x25, [x21]
	cmp	x25, x24
	b.ls	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _MSG_TRUNC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_TRUNC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
	mov	x25, x24
LBB0_4:
	ldr	w2, [x22, #16]
	mov	x0, x21
	mov	w1, #0
	mov	x3, x25
	bl	_skb_copy_datagram_iovec
	str	w0, [sp, #4]
	cbz	w0, LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _EFAULT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [sp, #4]
	b	LBB0_10
LBB0_6:
Lloh12:
	adrp	x8, _MSG_TRUNC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_TRUNC@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_8
; %bb.7:
	ldr	w25, [x21]
LBB0_8:
	str	w25, [sp, #4]
	ldr	x0, [x22, #8]
	cbz	x0, LBB0_10
; %bb.9:
	mov	w22, #4
	add	x1, sp, #8
	mov	w2, #4
	bl	_memcpy
	str	w22, [x20]
LBB0_10:
	mov	x0, x19
	mov	x1, x21
	bl	_skb_free_datagram
LBB0_11:
	ldr	w0, [sp, #4]
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MSG_OOB,4,2                    ; @MSG_OOB
	.comm	_MSG_TRUNC,4,2                  ; @MSG_TRUNC
	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	_pn_recvmsg
.subsections_via_symbols
