	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rxe_init_packet                ## -- Begin function rxe_init_packet
	.p2align	4, 0x90
_rxe_init_packet:                       ## @rxe_init_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
	movq	%rcx, %rbx
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	8(%rsi), %edx
	movl	$1, %esi
	callq	_rdma_get_gid_attr
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%r14d, %r14d
	jmp	LBB0_11
LBB0_2:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%r13, %rdi
	callq	_rdma_read_gid_attr_ndev_rcu
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%r14d, %r14d
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	$8, %eax
	movq	%r14, %rbx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	addl	%eax, %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_LL_RESERVED_SPACE
	addq	%rax, %r14
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_alloc_skb
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
LBB0_10:
	movq	%r13, %rdi
	callq	_rdma_put_gid_attr
LBB0_11:
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_LL_RESERVED_SPACE
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	%rax, %rsi
	movq	%r14, %rdi
	callq	_skb_reserve
	movq	%rbx, 8(%r14)
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	(%r15), %rax
	movq	_RDMA_NETWORK_IPV4@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.8:
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edi
	callq	_htons
	movq	%rax, (%r14)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%r12, 16(%rbx)
	movl	$1, (%rbx)
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_skb_put_zero
	movl	%eax, 8(%rbx)
	movq	_RXE_GRH_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_NETWORK_IPV4,8,3          ## @RDMA_NETWORK_IPV4
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
	.comm	_RXE_GRH_MASK,4,2               ## @RXE_GRH_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rxe_init_packet                ; -- Begin function rxe_init_packet
	.p2align	2
_rxe_init_packet:                       ; @rxe_init_packet
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x22, x0
	ldr	w2, [x1, #8]
	mov	w1, #1
	bl	_rdma_get_gid_attr
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x24, #0
	b	LBB0_8
LBB0_2:
Lloh0:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	bl	_rcu_read_lock
	mov	x0, x19
	bl	_rdma_read_gid_attr_ndev_rcu
	mov	x25, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	bl	_rcu_read_unlock
	mov	x24, #0
	b	LBB0_7
LBB0_4:
	add	w26, w24, #8
	add	w24, w26, w21
	mov	x0, x25
	bl	_LL_RESERVED_SPACE
	add	x0, x0, x24
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_alloc_skb
	mov	x24, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:
	bl	_rcu_read_unlock
	b	LBB0_7
LBB0_6:
	mov	x0, x25
	bl	_LL_RESERVED_SPACE
	add	x1, x0, w26, uxtw
	mov	x0, x24
	bl	_skb_reserve
	str	x25, [x24, #8]
	bl	_rcu_read_unlock
	ldr	x8, [x23]
Lloh6:
	adrp	x9, _RDMA_NETWORK_IPV4@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RDMA_NETWORK_IPV4@GOTPAGEOFF]
Lloh8:
	adrp	x10, _ETH_P_IP@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ETH_P_IP@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x11, _ETH_P_IPV6@GOTPAGE
Lloh12:
	ldr	x11, [x11, _ETH_P_IPV6@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w0, [x8]
	bl	_htons
	str	x0, [x24]
	str	x22, [x20, #16]
	mov	w8, #1
	str	w8, [x20]
	mov	x0, x24
	mov	x1, x21
	bl	_skb_put_zero
Lloh13:
	adrp	x8, _RXE_GRH_MASK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RXE_GRH_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
	stp	w8, w0, [x20, #4]
LBB0_7:
	mov	x0, x19
	bl	_rdma_put_gid_attr
LBB0_8:
	mov	x0, x24
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_NETWORK_IPV4,8,3          ; @RDMA_NETWORK_IPV4
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
	.comm	_RXE_GRH_MASK,4,2               ; @RXE_GRH_MASK
.subsections_via_symbols
