	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uc_message_recv                ## -- Begin function uc_message_recv
	.p2align	4, 0x90
_uc_message_recv:                       ## @uc_message_recv
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movq	_uc_cfg@GOTPCREL(%rip), %r12
	cmpl	$0, 8(%r12)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_uc_sync_recv
	testq	%rax, %rax
	js	LBB0_14
LBB0_2:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%rax), %r14
	jmp	LBB0_5
LBB0_3:
	xorl	%r14d, %r14d
LBB0_5:
	movq	_MSG_WAITALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_recvmsg
	testq	%rax, %rax
	js	LBB0_6
## %bb.7:
	cmpq	%r14, %rax
	jne	LBB0_8
## %bb.9:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_uc_dbgmsg
	movq	(%rbx), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_uc_dbgmsg
	movq	%rbx, %rdi
	callq	_CMSG_FIRSTHDR
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	(%rax), %rsi
	leaq	L_.str.4(%rip), %rdi
	callq	_uc_dbgmsg
LBB0_11:
	movl	(%r12), %esi
	movl	4(%r12), %edi
	movq	%r14, %rdx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_uc_logmsgx
	jmp	LBB0_14
LBB0_6:
	leaq	L_.str(%rip), %rdi
	callq	_uc_logmsg
	jmp	LBB0_14
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_uc_logmsgx
LBB0_14:
	movl	$-1, %eax
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_uc_cfg,12,2                    ## @uc_cfg
	.comm	_MSG_WAITALL,4,2                ## @MSG_WAITALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"message_recv: recvmsg"

L_.str.1:                               ## @.str.1
	.asciz	"message_recv: recvmsg: received %zd of %zu bytes"

L_.str.2:                               ## @.str.2
	.asciz	"recv: data size %zd"

L_.str.3:                               ## @.str.3
	.asciz	"recv: msghdr.msg_controllen %u"

L_.str.4:                               ## @.str.4
	.asciz	"recv: cmsghdr.cmsg_len %u"

L_.str.5:                               ## @.str.5
	.asciz	"message_recv: received message has wrong content"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uc_message_recv                ; -- Begin function uc_message_recv
	.p2align	2
_uc_message_recv:                       ; @uc_message_recv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _uc_cfg@GOTPAGE
Lloh1:
	ldr	x22, [x22, _uc_cfg@GOTPAGEOFF]
	ldr	w8, [x22, #8]
	cbnz	w8, LBB0_2
; %bb.1:
	bl	_uc_sync_recv
	tbnz	x0, #63, LBB0_14
LBB0_2:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x19, [x8]
	b	LBB0_5
LBB0_4:
	mov	x19, #0
LBB0_5:
Lloh2:
	adrp	x8, _MSG_WAITALL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MSG_WAITALL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	bl	_recvmsg
	tbnz	x0, #63, LBB0_11
; %bb.6:
	cmp	x0, x19
	b.ne	LBB0_12
; %bb.7:
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_uc_dbgmsg
	ldr	x1, [x20]
Lloh7:
	adrp	x0, l_.str.3@PAGE
Lloh8:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_uc_dbgmsg
	mov	x0, x20
	bl	_CMSG_FIRSTHDR
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x1, [x0]
Lloh9:
	adrp	x0, l_.str.4@PAGE
Lloh10:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_uc_dbgmsg
LBB0_9:
	ldp	w1, w0, [x22]
	mov	x2, x19
	bl	_memcmp
	cbz	x0, LBB0_15
; %bb.10:
Lloh11:
	adrp	x0, l_.str.5@PAGE
Lloh12:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_13
LBB0_11:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_uc_logmsg
	b	LBB0_14
LBB0_12:
	stp	x0, x19, [sp]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_13:
	bl	_uc_logmsgx
LBB0_14:
	mov	w0, #-1
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_uc_cfg,12,2                    ; @uc_cfg
	.comm	_MSG_WAITALL,4,2                ; @MSG_WAITALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"message_recv: recvmsg"

l_.str.1:                               ; @.str.1
	.asciz	"message_recv: recvmsg: received %zd of %zu bytes"

l_.str.2:                               ; @.str.2
	.asciz	"recv: data size %zd"

l_.str.3:                               ; @.str.3
	.asciz	"recv: msghdr.msg_controllen %u"

l_.str.4:                               ; @.str.4
	.asciz	"recv: cmsghdr.cmsg_len %u"

l_.str.5:                               ; @.str.5
	.asciz	"message_recv: received message has wrong content"

.subsections_via_symbols
