	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nr_recvmsg
_nr_recvmsg:                            ## @nr_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
	movl	%r8d, %r12d
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	(%rsi), %r15
	movq	16(%rdx), %rbx
	movq	%r15, %rdi
	callq	_lock_sock
	movq	(%r15), %rax
	movq	_TCP_ESTABLISHED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	$0, (%r14)
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %esi
	notl	%esi
	andl	%r12d, %esi
	andl	%r12d, %edx
	leaq	-44(%rbp), %rcx
	movq	%r15, %rdi
	callq	_skb_recv_datagram
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_skb_reset_transport_header
	movq	(%r12), %rbx
	cmpq	%r13, %rbx
	jbe	LBB0_6
## %bb.5:
	movq	_MSG_TRUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
	movq	%r13, %rbx
LBB0_6:
	movl	4(%r14), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	callq	_skb_copy_datagram_iovec
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.7:
	movq	_AF_NETROM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rcx)
	movl	(%rcx), %edx
	movq	_AX25_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	$7, %esi
	callq	_skb_copy_from_linear_data_offset
	movl	$8, (%r14)
LBB0_8:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_skb_free_datagram
	movq	%r15, %rdi
	callq	_release_sock
	jmp	LBB0_9
LBB0_1:
	movq	%r15, %rdi
	callq	_release_sock
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_3:
	movq	%r15, %rdi
	callq	_release_sock
	movl	-44(%rbp), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCP_ESTABLISHED,8,3            ## @TCP_ESTABLISHED
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_MSG_DONTWAIT,4,2               ## @MSG_DONTWAIT
	.comm	_MSG_TRUNC,4,2                  ## @MSG_TRUNC
	.comm	_AF_NETROM,4,2                  ## @AF_NETROM
	.comm	_AX25_ADDR_LEN,4,2              ## @AX25_ADDR_LEN
	.no_dead_strip	_nr_recvmsg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nr_recvmsg
_nr_recvmsg:                            ; @nr_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	x21, x4
	mov	x23, x3
	mov	x20, x2
	ldr	x19, [x1]
	ldr	x24, [x2, #16]
	mov	x0, x19
	bl	_lock_sock
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _TCP_ESTABLISHED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TCP_ESTABLISHED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	str	wzr, [x20]
Lloh3:
	adrp	x8, _MSG_DONTWAIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DONTWAIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w1, w21, w8
	and	w2, w8, w21
	add	x3, sp, #12
	mov	x0, x19
	bl	_skb_recv_datagram
	cbz	x0, LBB0_8
; %bb.2:
	mov	x22, x0
	bl	_skb_reset_transport_header
	ldr	x21, [x22]
	cmp	x21, x23
	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, [x20, #8]
	orr	w8, w9, w8
	str	w8, [x20, #8]
	mov	x21, x23
LBB0_4:
	ldr	w2, [x20, #4]
	mov	x0, x22
	mov	w1, #0
	mov	x3, x21
	bl	_skb_copy_datagram_iovec
	cbz	x24, LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _AF_NETROM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AF_NETROM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x24, #4]
	ldr	w2, [x24]
Lloh12:
	adrp	x8, _AX25_ADDR_LEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AX25_ADDR_LEN@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x22
	mov	w1, #7
	bl	_skb_copy_from_linear_data_offset
	mov	w8, #8
	str	w8, [x20]
LBB0_6:
	mov	x0, x19
	mov	x1, x22
	bl	_skb_free_datagram
	mov	x0, x19
	bl	_release_sock
	b	LBB0_9
LBB0_7:
	mov	x0, x19
	bl	_release_sock
Lloh15:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_release_sock
	ldr	w21, [sp, #12]
LBB0_9:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TCP_ESTABLISHED,8,3            ; @TCP_ESTABLISHED
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_MSG_TRUNC,4,2                  ; @MSG_TRUNC
	.comm	_AF_NETROM,4,2                  ; @AF_NETROM
	.comm	_AX25_ADDR_LEN,4,2              ; @AX25_ADDR_LEN
	.no_dead_strip	_nr_recvmsg
.subsections_via_symbols
