	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raw_recvmsg
_raw_recvmsg:                           ## @raw_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %ebx
	movl	%r8d, %r12d
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rsi, %rdi
	callq	_inet_sk
	movl	%ebx, %esi
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rdx
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	movl	%ecx, -44(%rbp)
	movq	_MSG_OOB@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	jne	LBB0_16
## %bb.1:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rcx
	movq	_MSG_ERRQUEUE@GOTPCREL(%rip), %rdx
	testl	%esi, (%rdx)
	je	LBB0_3
## %bb.2:
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_ip_recv_error
	movl	%eax, -44(%rbp)
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_3:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rbx
	leaq	-44(%rbp), %rcx
	movq	%r13, %r14
	movq	%r13, %rdi
	movl	%esi, %r15d
	movl	%r12d, %edx
	callq	_skb_recv_datagram
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r13
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rbx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, %rbx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jbe	LBB0_7
## %bb.6:
	movq	_MSG_TRUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movq	%rcx, %rbx
LBB0_7:
	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
	je	LBB0_9
## %bb.8:
	movq	%r13, %rsi
	jmp	LBB0_15
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_9:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_sock_recv_ts_and_drops
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	testq	%r12, %r12
	je	LBB0_11
## %bb.10:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movq	%r13, %rdi
	callq	_ip_hdr
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	$0, 8(%r12)
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	16(%rbp), %rax
	movl	$24, (%rax)
LBB0_11:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_ip_cmsg_recv
LBB0_13:
	movq	_MSG_TRUNC@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	movq	%r13, %rsi
	je	LBB0_15
## %bb.14:
	movq	(%rsi), %rbx
LBB0_15:
	movq	%r14, %rdi
	callq	_skb_free_datagram
LBB0_16:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	cmovnel	%eax, %ebx
	movl	%ebx, %eax
	addq	$40, %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_ERRQUEUE,4,2               ## @MSG_ERRQUEUE
	.comm	_MSG_TRUNC,4,2                  ## @MSG_TRUNC
	.comm	_AF_INET,4,2                    ## @AF_INET
	.no_dead_strip	_raw_recvmsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raw_recvmsg
_raw_recvmsg:                           ; @raw_recvmsg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x6
	mov	x20, x5
	mov	x23, x4
	mov	x27, x3
	mov	x21, x2
	mov	x19, x1
	mov	x0, x1
	bl	_inet_sk
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [sp, #12]
Lloh3:
	adrp	x8, _MSG_OOB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_OOB@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
LBB0_1:
	mov	x23, #0
	b	LBB0_15
LBB0_2:
Lloh6:
	adrp	x8, _MSG_ERRQUEUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_ERRQUEUE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x27
	mov	x3, x22
	bl	_ip_recv_error
	mov	x23, #0
	str	w0, [sp, #12]
	b	LBB0_15
LBB0_4:
	mov	x25, x0
	ldr	x26, [x21, #8]
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	bl	_skb_recv_datagram
	cbz	x0, LBB0_1
; %bb.5:
	mov	x24, x0
	ldr	x23, [x0]
	cmp	x23, x27
	b.ls	LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _MSG_TRUNC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_TRUNC@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
	mov	x23, x27
LBB0_7:
	ldr	w2, [x21, #4]
	mov	x0, x24
	mov	w1, #0
	mov	x3, x23
	bl	_skb_copy_datagram_iovec
	str	w0, [sp, #12]
	cbnz	w0, LBB0_14
; %bb.8:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x24
	bl	_sock_recv_ts_and_drops
	cbz	x26, LBB0_10
; %bb.9:
Lloh12:
	adrp	x8, _AF_INET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x26, #20]
	mov	x0, x24
	bl	_ip_hdr
	ldr	w8, [x0]
	str	w8, [x26, #16]
	str	xzr, [x26, #8]
	mov	x0, x26
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w8, #24
	str	w8, [x22]
LBB0_10:
	ldr	x8, [x25]
	cbz	x8, LBB0_12
; %bb.11:
	mov	x0, x21
	mov	x1, x24
	bl	_ip_cmsg_recv
LBB0_12:
Lloh15:
	adrp	x8, _MSG_TRUNC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_TRUNC@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_14
; %bb.13:
	ldr	x23, [x24]
LBB0_14:
	mov	x0, x19
	mov	x1, x24
	bl	_skb_free_datagram
LBB0_15:
	ldr	w8, [sp, #12]
	cmp	w8, #0
	csel	w0, w23, w8, eq
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	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
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MSG_OOB,4,2                    ; @MSG_OOB
	.comm	_MSG_ERRQUEUE,4,2               ; @MSG_ERRQUEUE
	.comm	_MSG_TRUNC,4,2                  ; @MSG_TRUNC
	.comm	_AF_INET,4,2                    ; @AF_INET
	.no_dead_strip	_raw_recvmsg
.subsections_via_symbols
