	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_packet
_fill_packet:                           ## @fill_packet
	.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	%r8d, %r12d
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movl	4(%rdi), %edi
	callq	_to_rdev
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)
	leaq	-44(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%rdx, %r14
	callq	_rxe_prepare
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	_RXE_WRITE_OR_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movslq	%r12d, %rbx
	testl	%eax, (%r13)
	je	LBB0_5
## %bb.2:
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movq	_IB_SEND_INLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	testl	%eax, 24(%r12)
	je	LBB0_4
## %bb.3:
	movq	(%r12), %r14
	shlq	$2, %r14
	addq	16(%r12), %r14
	movl	-44(%rbp), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	%ebx, %ecx
	callq	_rxe_crc32
	movl	%eax, -44(%rbp)
	movq	%r13, %rdi
	callq	_payload_addr
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	subl	%ebx, 8(%r12)
	addq	%rbx, (%r12)
	jmp	LBB0_5
LBB0_4:
	movl	(%r15), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	movq	%r12, %r15
	callq	_payload_addr
	movq	_from_mem_obj@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%r14, (%rsp)
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	movq	%r12, %rdx
	movq	%rax, %rcx
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
	callq	_copy_data
	testl	%eax, %eax
	jne	LBB0_6
LBB0_5:
	movq	%r13, %rdi
	callq	_payload_addr
	leaq	(%rax,%rbx,4), %r14
	movq	%r13, %rdi
	callq	_bth_pad
	cltq
	movl	-44(%rbp), %ecx
	notl	%ecx
	movl	%ecx, (%r14,%rax,4)
	xorl	%eax, %eax
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RXE_WRITE_OR_SEND,4,2          ## @RXE_WRITE_OR_SEND
	.comm	_IB_SEND_INLINE,4,2             ## @IB_SEND_INLINE
	.comm	_from_mem_obj,4,2               ## @from_mem_obj
	.no_dead_strip	_fill_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_packet
_fill_packet:                           ; @fill_packet
	.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, x4
	mov	x24, x3
	mov	x19, x2
	mov	x21, x1
	mov	x23, x0
	ldr	w0, [x0, #4]
	bl	_to_rdev
	mov	x22, x0
	str	wzr, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x24
	bl	_rxe_prepare
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _RXE_WRITE_OR_SEND@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RXE_WRITE_OR_SEND@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	ldr	w8, [x21, #24]
Lloh3:
	adrp	x9, _IB_SEND_INLINE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_SEND_INLINE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x8, [x21, #16]
	ldr	x9, [x21]
	add	x23, x8, x9, lsl #2
	ldr	w1, [sp, #12]
	mov	x0, x22
	mov	x2, x23
	mov	x3, x20
	bl	_rxe_crc32
	str	w0, [sp, #12]
	mov	x0, x19
	bl	_payload_addr
	mov	x1, x23
	mov	x2, x20
	bl	_memcpy
	ldr	w8, [x21, #8]
	sub	w8, w8, w20
	str	w8, [x21, #8]
	ldr	x8, [x21]
	add	x8, x8, w20, sxtw
	str	x8, [x21]
	b	LBB0_5
LBB0_4:
	ldr	w22, [x23]
	mov	x0, x19
	bl	_payload_addr
	mov	x3, x0
Lloh6:
	adrp	x8, _from_mem_obj@GOTPAGE
Lloh7:
	ldr	x8, [x8, _from_mem_obj@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	add	x6, sp, #12
	mov	x0, x22
	mov	w1, #0
	mov	x2, x21
	mov	x4, x20
	bl	_copy_data
	cbnz	w0, LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_payload_addr
	add	x20, x0, w20, sxtw #2
	mov	x0, x19
	bl	_bth_pad
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [sp, #12]
	mvn	w9, w9
	str	w9, [x20, w8, sxtw #2]
LBB0_6:
	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	_RXE_WRITE_OR_SEND,4,2          ; @RXE_WRITE_OR_SEND
	.comm	_IB_SEND_INLINE,4,2             ; @IB_SEND_INLINE
	.comm	_from_mem_obj,4,2               ; @from_mem_obj
	.no_dead_strip	_fill_packet
.subsections_via_symbols
