	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function start_tx
_start_tx:                              ## @start_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
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_DPRINTK
	movq	%rbx, %rdi
	callq	_ZATM_DEV
	movq	%rax, %r15
	movl	(%rax), %edi
	shll	$3, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movl	%eax, 28(%r15)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_ATM_OC3_PCR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	_NR_SHAPERS@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movl	$-1, %eax
	shll	%cl, %eax
	notl	%eax
	movl	%eax, 4(%r15)
	movl	$-1, 8(%r15)
	movq	$0, 16(%r15)
	xorl	%r14d, %r14d
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_uPD98401_PS
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_zpokel
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"start_tx\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ATM_OC3_PCR,4,2                ## @ATM_OC3_PCR
	.comm	_NR_SHAPERS,4,2                 ## @NR_SHAPERS
	.no_dead_strip	_start_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function start_tx
_start_tx:                              ; @start_tx
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINTK
	mov	x0, x19
	bl	_ZATM_DEV
	mov	x19, x0
	ldr	w8, [x0]
	lsl	w0, w8, #3
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_kmalloc
	str	w0, [x19, #28]
	cbz	w0, LBB0_5
; %bb.1:
Lloh5:
	adrp	x8, _ATM_OC3_PCR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ATM_OC3_PCR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh8:
	adrp	x21, _NR_SHAPERS@GOTPAGE
Lloh9:
	ldr	x21, [x21, _NR_SHAPERS@GOTPAGEOFF]
	ldr	w8, [x21]
	mov	w9, #-1
	lsl	w10, w9, w8
	mvn	w10, w10
	stp	w10, w9, [x19, #4]
	str	xzr, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	w20, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_uPD98401_PS
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_zpokel
	add	w20, w20, #1
	ldr	w8, [x21]
	cmp	w20, w8
	b.lt	LBB0_3
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"start_tx\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ATM_OC3_PCR,4,2                ; @ATM_OC3_PCR
	.comm	_NR_SHAPERS,4,2                 ; @NR_SHAPERS
	.no_dead_strip	_start_tx
.subsections_via_symbols
