	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dgram_recvmsg
_dgram_recvmsg:                         ## @dgram_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
	pushq	%rax
	.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, %r13
	movq	%rsi, %r14
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -44(%rbp)
	leaq	-44(%rbp), %rcx
	movq	%rsi, %rdi
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r9d, %esi
	movl	%r8d, %edx
	callq	_skb_recv_datagram
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r12
	movq	(%rax), %rbx
	cmpq	%r15, %rbx
	jbe	LBB0_3
## %bb.2:
	movq	_MSG_TRUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r13)
	movq	%r15, %rbx
LBB0_3:
	movl	4(%r13), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_skb_copy_datagram_iovec
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_sock_recv_ts_and_drops
	movq	_MSG_TRUNC@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	(%r12), %rbx
LBB0_6:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_skb_free_datagram
LBB0_7:
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	cmovnel	%eax, %ebx
	movl	%ebx, %eax
	addq	$8, %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_TRUNC,4,2                  ## @MSG_TRUNC
	.no_dead_strip	_dgram_recvmsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dgram_recvmsg
_dgram_recvmsg:                         ; @dgram_recvmsg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x5
	mov	x24, x3
	mov	x23, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [sp, #12]
	add	x3, sp, #12
	mov	x0, x1
	mov	x1, x5
	mov	x2, x4
	bl	_skb_recv_datagram
	cbz	x0, LBB0_7
; %bb.1:
	mov	x21, x0
	ldr	x22, [x0]
	cmp	x22, x24
	b.ls	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _MSG_TRUNC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_TRUNC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x23]
	orr	w8, w9, w8
	str	w8, [x23]
	mov	x22, x24
LBB0_3:
	ldr	w2, [x23, #4]
	mov	x0, x21
	mov	w1, #0
	mov	x3, x22
	bl	_skb_copy_datagram_iovec
	str	w0, [sp, #12]
	cbnz	w0, LBB0_6
; %bb.4:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x21
	bl	_sock_recv_ts_and_drops
Lloh6:
	adrp	x8, _MSG_TRUNC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_TRUNC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
	ldr	x22, [x21]
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	bl	_skb_free_datagram
	b	LBB0_8
LBB0_7:
	mov	x22, #0
LBB0_8:
	ldr	w8, [sp, #12]
	cmp	w8, #0
	csel	w0, w22, w8, eq
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MSG_TRUNC,4,2                  ; @MSG_TRUNC
	.no_dead_strip	_dgram_recvmsg
.subsections_via_symbols
