	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function use_pool
_use_pool:                              ## @use_pool
	.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, %r15d
	movq	%rdi, %r14
	callq	_ZATM_DEV
	movq	%rax, %r12
	movq	(%rax), %rax
	movslq	%r15d, %rbx
	movl	4(%rax,%rbx,8), %ecx
	leal	1(%rcx), %edx
	movl	%edx, 4(%rax,%rbx,8)
	testl	%ecx, %ecx
	jne	LBB0_2
## %bb.1:
	leaq	(,%rbx,4), %rdi
	addq	32(%r12), %rdi
	callq	_skb_queue_head_init
	movq	_ZATM_AAL5_POOL_BASE@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	subl	(%rax), %ecx
	cmpl	$10, %ecx
	movl	$10, %eax
	cmovll	%ecx, %eax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	testl	%eax, %eax
	cmovgl	%eax, %r14d
	movq	%r12, %r13
	addq	$16, %r13
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movq	(%r12), %rax
	movl	(%rax,%rbx,8), %eax
	leal	3(%rax), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$2, %edx
	movq	_uPD98401_RXFP_ALERT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movq	_uPD98401_RXFP_BFSZ_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	_uPD98401_RXFP_BTSZ_SHIFT@GOTPCREL(%rip), %rax
	shll	%cl, %r14d
	movb	(%rax), %al
	btsl	%eax, %edx
	orl	%edx, %r14d
	movslq	%r14d, %rsi
	leal	(%rbx,%rbx), %eax
	movslq	%eax, %r14
	movq	24(%r12), %rdx
	addq	%r14, %rdx
	movq	%r12, %rdi
	callq	_zpokel
	movq	_dummy@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	24(%r12), %rax
	leaq	(%rax,%r14), %rdx
	incq	%rdx
	movq	%r12, %rdi
	callq	_zpokel
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	movq	8(%r12), %rax
	movq	$0, (%rax,%rbx,8)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_refill_pool
	movq	(%r12), %rax
	movl	4(%rax,%rbx,8), %edx
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DPRINTK                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ZATM_AAL5_POOL_BASE,4,2        ## @ZATM_AAL5_POOL_BASE
	.comm	_uPD98401_RXFP_ALERT_SHIFT,4,2  ## @uPD98401_RXFP_ALERT_SHIFT
	.comm	_uPD98401_RXFP_BTSZ_SHIFT,4,2   ## @uPD98401_RXFP_BTSZ_SHIFT
	.comm	_uPD98401_RXFP_BFSZ_SHIFT,4,2   ## @uPD98401_RXFP_BFSZ_SHIFT
	.comm	_dummy,8,3                      ## @dummy
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pool %d: %d\n"

	.no_dead_strip	_use_pool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function use_pool
_use_pool:                              ; @use_pool
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	bl	_ZATM_DEV
	ldr	x8, [x0]
	add	x8, x8, w19, sxtw #3
	ldr	w9, [x8, #4]
	add	w2, w9, #1
	str	w2, [x8, #4]
	cbnz	w9, LBB0_2
; %bb.1:
	mov	x21, x0
	sxtw	x23, w19
	ldr	x8, [x0, #32]
	add	x0, x8, x23, lsl #2
	bl	_skb_queue_head_init
Lloh0:
	adrp	x8, _ZATM_AAL5_POOL_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZATM_AAL5_POOL_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w19, w8
	mov	w9, #10
	cmp	w8, #10
	csel	w8, w8, w9, lt
	cmp	w8, #0
	csel	w24, w8, wzr, gt
	add	x22, x21, #16
	mov	x0, x22
	bl	_spin_lock_irqsave
	ldr	x8, [x21]
	lsl	x23, x23, #3
	ldr	w8, [x8, x23]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
Lloh3:
	adrp	x9, _uPD98401_RXFP_ALERT_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _uPD98401_RXFP_ALERT_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh6:
	adrp	x9, _uPD98401_RXFP_BTSZ_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _uPD98401_RXFP_BTSZ_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _uPD98401_RXFP_BFSZ_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _uPD98401_RXFP_BFSZ_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	lsl	w9, w24, w9
	orr	w8, w8, w9
	sxtw	x1, w8
	ldr	x8, [x21, #24]
	lsl	w9, w19, #1
	sxtw	x24, w9
	add	x2, x8, x24
	mov	x0, x21
	bl	_zpokel
Lloh12:
	adrp	x8, _dummy@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dummy@GOTPAGEOFF]
Lloh14:
	ldr	x1, [x8]
	ldr	x8, [x21, #24]
	add	x8, x8, x24
	add	x2, x8, #1
	mov	x0, x21
	bl	_zpokel
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	ldr	x8, [x21, #8]
	str	xzr, [x8, x23]
	mov	x0, x20
	mov	x1, x19
	bl	_refill_pool
	ldr	x8, [x21]
	add	x8, x8, x23
	ldr	w2, [x8, #4]
LBB0_2:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_DPRINTK
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ZATM_AAL5_POOL_BASE,4,2        ; @ZATM_AAL5_POOL_BASE
	.comm	_uPD98401_RXFP_ALERT_SHIFT,4,2  ; @uPD98401_RXFP_ALERT_SHIFT
	.comm	_uPD98401_RXFP_BTSZ_SHIFT,4,2   ; @uPD98401_RXFP_BTSZ_SHIFT
	.comm	_uPD98401_RXFP_BFSZ_SHIFT,4,2   ; @uPD98401_RXFP_BFSZ_SHIFT
	.comm	_dummy,8,3                      ; @dummy
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pool %d: %d\n"

	.no_dead_strip	_use_pool
.subsections_via_symbols
