	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_udp_recvmsg                    ## -- Begin function udp_recvmsg
	.p2align	4, 0x90
_udp_recvmsg:                           ## @udp_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	$72, %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, %r15d
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	16(%rbp), %r12
	movq	%rsi, %rdi
	callq	_inet_sk
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	8(%r14), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_IS_UDPLITE
	movq	_MSG_ERRQUEUE@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	je	LBB0_1
## %bb.28:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ip_recv_error                  ## TAILCALL
LBB0_1:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_release_sock
	testl	%r15d, %r15d
	jne	LBB0_26
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %esi
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	orl	%ebx, %esi
	movq	%r13, %rdi
	leaq	-68(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	callq	___skb_recv_datagram
	testq	%rax, %rax
	je	LBB0_22
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	movl	(%rax), %r14d
	addl	$-4, %r14d
	movl	%r14d, %eax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	cmpl	%edx, %r14d
	jb	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %eax
	jbe	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_MSG_TRUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	movl	%edx, %eax
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_UDP_SKB_CB
	cmpq	$0, (%rax)
	je	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_udp_lib_checksum_complete
	testq	%rax, %rax
	jne	LBB0_23
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_skb_csum_unnecessary
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	4(%rcx), %edx
	movq	%r12, %rdi
	movl	$4, %esi
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	callq	_skb_copy_and_csum_datagram_iovec
	movl	%eax, -44(%rbp)
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	jne	LBB0_13
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_lock_sock
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_skb_kill_datagram
	testl	%eax, %eax
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_sock_net
	movq	_UDP_MIB_INERRORS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_UDP_INC_STATS_USER
	jmp	LBB0_25
LBB0_26:
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_27
LBB0_11:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_skb_copy_datagram_iovec
	movl	%eax, -44(%rbp)
LBB0_13:
	testl	%eax, %eax
	jne	LBB0_21
## %bb.14:
	cmpl	$0, -68(%rbp)
	jne	LBB0_16
## %bb.15:
	movq	%r13, %rdi
	callq	_sock_net
	movq	_UDP_MIB_INDATAGRAMS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_UDP_INC_STATS_USER
LBB0_16:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_sock_recv_ts_and_drops
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_18
## %bb.17:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rcx)
	movq	%r12, %rdi
	movq	%rcx, %r15
	callq	_udp_hdr
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	%r12, %rdi
	callq	_ip_hdr
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	(%r15), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	$16, (%rax)
LBB0_18:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_20
## %bb.19:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_ip_cmsg_recv
LBB0_20:
	movq	_MSG_TRUNC@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	cmovel	-48(%rbp), %r14d                ## 4-byte Folded Reload
	movl	%r14d, -44(%rbp)
LBB0_21:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_skb_free_datagram_locked
LBB0_22:
	movl	-44(%rbp), %eax
LBB0_27:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_ERRQUEUE,4,2               ## @MSG_ERRQUEUE
	.comm	_MSG_DONTWAIT,4,2               ## @MSG_DONTWAIT
	.comm	_MSG_TRUNC,4,2                  ## @MSG_TRUNC
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_UDP_MIB_INDATAGRAMS,4,2        ## @UDP_MIB_INDATAGRAMS
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_UDP_MIB_INERRORS,4,2           ## @UDP_MIB_INERRORS
	.comm	_EAGAIN,4,2                     ## @EAGAIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_udp_recvmsg                    ; -- Begin function udp_recvmsg
	.p2align	2
_udp_recvmsg:                           ; @udp_recvmsg
	.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	x22, x6
	mov	x20, x5
	mov	x27, x4
	mov	x26, x3
	mov	x21, x2
	mov	x19, x1
	mov	x0, x1
	bl	_inet_sk
	mov	x23, x0
	ldr	x24, [x21, #8]
	mov	x0, x19
	bl	_IS_UDPLITE
Lloh0:
	adrp	x8, _MSG_ERRQUEUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_ERRQUEUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x26
	mov	x3, x22
	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
	b	_ip_recv_error
LBB0_2:
	mov	x25, x0
	stp	x24, x23, [sp, #8]              ; 16-byte Folded Spill
	str	x22, [sp]                       ; 8-byte Folded Spill
Lloh3:
	adrp	x22, _MSG_DONTWAIT@GOTPAGE
Lloh4:
	ldr	x22, [x22, _MSG_DONTWAIT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_release_sock
	cbnz	w27, LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	cmp	w27, #0
	csel	w8, wzr, w8, eq
	orr	w1, w8, w20
	add	x2, sp, #28
	add	x3, sp, #24
	mov	x0, x19
	bl	___skb_recv_datagram
	cbz	x0, LBB0_25
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	ldr	w8, [x0]
	sub	w28, w8, #4
	mov	x23, x28
	cmp	w28, w26
	b.lo	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x26
	b.ls	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh5:
	adrp	x8, _MSG_TRUNC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_TRUNC@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
	mov	x23, x26
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_UDP_SKB_CB
	ldr	x8, [x0]
	cbz	x8, LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_udp_lib_checksum_complete
	cbnz	x0, LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_skb_csum_unnecessary
	ldr	w2, [x21, #4]
	cbnz	x0, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	w1, #4
	bl	_skb_copy_and_csum_datagram_iovec
	str	w0, [sp, #24]
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_lock_sock
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	bl	_skb_kill_datagram
	cbnz	w0, LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_sock_net
Lloh11:
	adrp	x8, _UDP_MIB_INERRORS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UDP_MIB_INERRORS@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x2, x25
	bl	_UDP_INC_STATS_USER
	b	LBB0_3
LBB0_14:
Lloh14:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_26
LBB0_15:
	mov	x0, x24
	mov	w1, #4
	mov	x3, x23
	bl	_skb_copy_datagram_iovec
	str	w0, [sp, #24]
LBB0_16:
	cbnz	w0, LBB0_24
; %bb.17:
	ldr	w8, [sp, #28]
	cbnz	w8, LBB0_19
; %bb.18:
	mov	x0, x19
	bl	_sock_net
Lloh17:
	adrp	x8, _UDP_MIB_INDATAGRAMS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _UDP_MIB_INDATAGRAMS@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x2, x25
	bl	_UDP_INC_STATS_USER
LBB0_19:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x24
	bl	_sock_recv_ts_and_drops
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	cbz	x22, LBB0_21
; %bb.20:
Lloh20:
	adrp	x8, _AF_INET@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x22, #12]
	mov	x0, x24
	bl	_udp_hdr
	ldr	w8, [x0]
	str	w8, [x22, #8]
	mov	x0, x24
	bl	_ip_hdr
	ldr	w8, [x0]
	str	w8, [x22, #4]
	ldr	w0, [x22]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w8, #16
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	str	w8, [x9]
LBB0_21:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	cbz	x8, LBB0_23
; %bb.22:
	mov	x0, x21
	mov	x1, x24
	bl	_ip_cmsg_recv
LBB0_23:
Lloh23:
	adrp	x8, _MSG_TRUNC@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MSG_TRUNC@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	tst	w8, w20
	csel	w8, w23, w28, eq
	str	w8, [sp, #24]
LBB0_24:
	mov	x0, x19
	mov	x1, x24
	bl	_skb_free_datagram_locked
LBB0_25:
	ldr	w0, [sp, #24]
LBB0_26:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_ERRQUEUE,4,2               ; @MSG_ERRQUEUE
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_MSG_TRUNC,4,2                  ; @MSG_TRUNC
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_UDP_MIB_INDATAGRAMS,4,2        ; @UDP_MIB_INDATAGRAMS
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_UDP_MIB_INERRORS,4,2           ; @UDP_MIB_INERRORS
	.comm	_EAGAIN,4,2                     ; @EAGAIN
.subsections_via_symbols
