	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_tx
_alloc_tx:                              ## @alloc_tx
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_sk_atm
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_sk_wmem_alloc_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_atm_may_send
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%r15d, %edi
	callq	_alloc_skb
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_schedule
	movl	(%r12), %esi
	movl	%r15d, %edi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
LBB0_6:
	movq	%r14, %rdi
	callq	_sk_wmem_alloc_get
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_pr_debug
	movl	(%rbx), %edi
	movq	%r14, %rsi
	callq	_atomic_add
	jmp	LBB0_7
LBB0_2:
	movq	%r14, %rdi
	callq	_sk_wmem_alloc_get
	movl	4(%r14), %ecx
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%rax, %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_7:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sorry: wmem_alloc = %d, size = %d, sndbuf = %d\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.1:                               ## @.str.1
	.asciz	"AlTx %d += %d\n"

	.no_dead_strip	_alloc_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_tx
_alloc_tx:                              ; @alloc_tx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_sk_atm
	mov	x19, x0
	bl	_sk_wmem_alloc_get
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	bl	_atm_may_send
	cbz	w0, LBB0_6
LBB0_2:
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_alloc_skb
	mov	x21, x0
	cbnz	x0, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_schedule
	ldr	w1, [x22]
	mov	x0, x20
	bl	_alloc_skb
	cbz	x0, LBB0_3
; %bb.4:
	mov	x21, x0
LBB0_5:
	mov	x0, x19
	bl	_sk_wmem_alloc_get
	mov	x1, x0
	ldr	w2, [x21]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	ldr	w0, [x21]
	mov	x1, x19
	bl	_atomic_add
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_sk_wmem_alloc_get
	mov	x1, x0
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_pr_debug
	mov	x21, #0
LBB0_7:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sorry: wmem_alloc = %d, size = %d, sndbuf = %d\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.1:                               ; @.str.1
	.asciz	"AlTx %d += %d\n"

	.no_dead_strip	_alloc_tx
.subsections_via_symbols
