	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_tx_pools
_init_tx_pools:                         ## @init_tx_pools
	.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
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movq	40(%rax), %rax
	movl	(%rax), %edi
	callq	_be32_to_cpu
	movl	%eax, %r12d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%eax, %edi
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 32(%r15)
	movl	$-1, %r13d
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movl	(%rbx), %edx
	movl	%r12d, %edi
	movl	$4, %esi
	callq	_kcalloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movl	%r12d, (%r15)
	testl	%r12d, %r12d
	jle	LBB0_9
## %bb.3:
	movl	%r12d, %r12d
	shlq	$2, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rsi
	addq	%rbx, %rsi
	movl	24(%r15), %edx
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addq	16(%r15), %rcx
	movq	%r14, %rdi
	callq	_init_one_tx_pool
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %rsi
	addq	%rbx, %rsi
	movq	_IBMVNIC_TSO_BUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IBMVNIC_TSO_BUF_SZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r14, %rdi
	callq	_init_one_tx_pool
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$4, %rbx
	cmpq	%rbx, %r12
	jne	LBB0_4
LBB0_9:
	xorl	%r13d, %r13d
	jmp	LBB0_10
LBB0_8:
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_release_tx_pools
LBB0_10:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_VLAN_HLEN,8,3                  ## @VLAN_HLEN
	.comm	_IBMVNIC_TSO_BUFS,4,2           ## @IBMVNIC_TSO_BUFS
	.comm	_IBMVNIC_TSO_BUF_SZ,8,3         ## @IBMVNIC_TSO_BUF_SZ
	.no_dead_strip	_init_tx_pools
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_tx_pools
_init_tx_pools:                         ; @init_tx_pools
	.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, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0, #40]
	ldr	w0, [x8]
	bl	_be32_to_cpu
	mov	x21, x0
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x19, #32]
	cbz	x0, LBB0_8
; %bb.1:
	ldr	w2, [x22]
	mov	x0, x21
	mov	w1, #4
	bl	_kcalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_8
; %bb.2:
	str	w21, [x19]
	cmp	w21, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x22, #0
	mov	w8, w21
	lsl	x23, x8, #2
Lloh2:
	adrp	x24, _VLAN_HLEN@GOTPAGE
Lloh3:
	ldr	x24, [x24, _VLAN_HLEN@GOTPAGEOFF]
Lloh4:
	adrp	x25, _IBMVNIC_TSO_BUFS@GOTPAGE
Lloh5:
	ldr	x25, [x25, _IBMVNIC_TSO_BUFS@GOTPAGEOFF]
Lloh6:
	adrp	x26, _IBMVNIC_TSO_BUF_SZ@GOTPAGE
Lloh7:
	ldr	x26, [x26, _IBMVNIC_TSO_BUF_SZ@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	add	x1, x8, x22
	ldr	w2, [x19, #24]
	ldr	x8, [x19, #16]
	ldr	x9, [x24]
	add	x3, x9, x8
	mov	x0, x20
	bl	_init_one_tx_pool
	cbnz	w0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	add	x1, x8, x22
	ldr	w2, [x25]
	ldr	x3, [x26]
	mov	x0, x20
	bl	_init_one_tx_pool
	cbnz	w0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #4
	cmp	x23, x22
	b.ne	LBB0_4
LBB0_7:
	mov	w21, #0
	b	LBB0_10
LBB0_8:
	mov	w21, #-1
	b	LBB0_10
LBB0_9:
	mov	x21, x0
	mov	x0, x19
	bl	_release_tx_pools
LBB0_10:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_VLAN_HLEN,8,3                  ; @VLAN_HLEN
	.comm	_IBMVNIC_TSO_BUFS,4,2           ; @IBMVNIC_TSO_BUFS
	.comm	_IBMVNIC_TSO_BUF_SZ,8,3         ; @IBMVNIC_TSO_BUF_SZ
	.no_dead_strip	_init_tx_pools
.subsections_via_symbols
