	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_alloc_rx_skb
_ipoib_alloc_rx_skb:                    ## @ipoib_alloc_rx_skb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	callq	_netdev_priv
	movq	%rax, %r14
	movl	16(%rax), %edi
	callq	_ipoib_ud_need_sg
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_IPOIB_UD_HEAD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$132, %edi
	jmp	LBB0_3
LBB0_2:
	movl	16(%r14), %edi
	callq	_IPOIB_UD_BUF_SIZE
	movl	%eax, %r15d
	movl	$4, %edi
LBB0_3:
	addl	%r15d, %edi
	callq	_dev_alloc_skb
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_skb_reserve
	movq	8(%r14), %rax
	movslq	%r12d, %r13
	shlq	$4, %r13
	movq	8(%rax,%r13), %r12
	movl	(%r14), %edi
	movl	(%rbx), %esi
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edx
	callq	_ib_dma_map_single
	movl	%eax, (%r12)
	movl	(%r14), %edi
	movl	%eax, %esi
	callq	_ib_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_10
## %bb.5:
	movl	16(%r14), %edi
	callq	_ipoib_ud_need_sg
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_alloc_page
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_skb_fill_page_desc
	movl	(%r14), %edi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_ib_dma_map_page
	movl	%eax, 4(%r12)
	movl	(%r14), %edi
	movl	%eax, %esi
	callq	_ib_dma_mapping_error
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_8
LBB0_9:
	movl	(%r14), %edi
	movl	(%r12), %esi
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edx
	callq	_ib_dma_unmap_single
LBB0_10:
	movq	%rbx, %rdi
	callq	_dev_kfree_skb_any
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	8(%r14), %rax
	movq	%rbx, (%rax,%r13)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_UD_HEAD_SIZE,4,2         ## @IPOIB_UD_HEAD_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.no_dead_strip	_ipoib_alloc_rx_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_alloc_rx_skb
_ipoib_alloc_rx_skb:                    ; @ipoib_alloc_rx_skb
	.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	x19, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	w0, [x0, #16]
	bl	_ipoib_ud_need_sg
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IPOIB_UD_HEAD_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPOIB_UD_HEAD_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	w8, #132
	b	LBB0_3
LBB0_2:
	ldr	w0, [x20, #16]
	bl	_IPOIB_UD_BUF_SIZE
	mov	x21, x0
	mov	w8, #4
LBB0_3:
	add	w0, w8, w21
	bl	_dev_alloc_skb
	mov	x22, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_10
; %bb.4:
	mov	x0, x22
	mov	w1, #4
	bl	_skb_reserve
	ldr	x8, [x20, #8]
	add	x8, x8, w19, sxtw #4
	ldr	x24, [x8, #8]
	ldr	w0, [x20]
	ldr	w1, [x22]
Lloh3:
	adrp	x25, _DMA_FROM_DEVICE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _DMA_FROM_DEVICE@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	x2, x21
	bl	_ib_dma_map_single
	mov	x1, x0
	str	w0, [x24]
	ldr	w0, [x20]
	bl	_ib_dma_mapping_error
	bl	_unlikely
	cbnz	x0, LBB0_9
; %bb.5:
	ldr	w0, [x20, #16]
	bl	_ipoib_ud_need_sg
	cbz	x0, LBB0_12
; %bb.6:
Lloh5:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_alloc_page
	cbz	x0, LBB0_8
; %bb.7:
	mov	x23, x0
Lloh8:
	adrp	x26, _PAGE_SIZE@GOTPAGE
Lloh9:
	ldr	x26, [x26, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w4, [x26]
	mov	x0, x22
	mov	w1, #0
	mov	x2, x23
	mov	w3, #0
	bl	_skb_fill_page_desc
	ldr	w0, [x20]
	ldr	w3, [x26]
	ldr	w4, [x25]
	mov	x1, x23
	mov	w2, #0
	bl	_ib_dma_map_page
	mov	x1, x0
	str	w0, [x24, #4]
	ldr	w0, [x20]
	bl	_ib_dma_mapping_error
	bl	_unlikely
	cbz	x0, LBB0_12
LBB0_8:
	ldr	w0, [x20]
	ldr	w1, [x24]
	ldr	w3, [x25]
	mov	x2, x21
	bl	_ib_dma_unmap_single
LBB0_9:
	mov	x0, x22
	bl	_dev_kfree_skb_any
LBB0_10:
	mov	x22, #0
LBB0_11:
	mov	x0, x22
	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
LBB0_12:
	sxtw	x8, w19
	ldr	x9, [x20, #8]
	lsl	x8, x8, #4
	str	x22, [x9, x8]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_UD_HEAD_SIZE,4,2         ; @IPOIB_UD_HEAD_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.no_dead_strip	_ipoib_alloc_rx_skb
.subsections_via_symbols
