	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmtcp_send_control
_atmtcp_send_control:                   ## @atmtcp_send_control
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	_wait@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_DECLARE_WAITQUEUE
	movl	(%r15), %edi
	callq	_PRIV
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movl	(%r15), %edi
	callq	_PRIV
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$12, %edi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_14
## %bb.3:
	movq	%rax, %r14
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_mb
	movl	(%r15), %edi
	callq	_PRIV
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:
	movl	(%r15), %edi
	callq	_PRIV
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.5:
	movl	(%r14), %esi
	movq	%rax, %rdi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_atm_force_charge
	movq	%r14, %rdi
	movl	$12, %esi
	callq	_skb_put
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	%rax, %r12
	movq	(%r13), %rax
	movq	%rax, (%r12)
	movl	8(%r13), %eax
	movl	%eax, 8(%r12)
	movq	_ATMTCP_HDR_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r12)
	leaq	4(%r12), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r15, 4(%r12)
	leaq	4(%r15), %r12
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %rsi
	callq	_test_bit
	movl	%eax, %r13d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	*8(%rdi)
	movq	%r15, %rdi
	callq	_sk_atm
	movl	(%rax), %edi
	movq	_wait@GOTPCREL(%rip), %rsi
	callq	_add_wait_queue
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, %r14d
	movq	%r12, %rsi
	callq	_test_bit
	cmpl	%r13d, %eax
	jne	LBB0_17
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_mb
	movl	(%r15), %edi
	callq	_PRIV
	testq	%rax, %rax
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r15), %edi
	callq	_PRIV
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_TASK_UNINTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_current_state
	xorl	%eax, %eax
	callq	_schedule
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_test_bit
	cmpl	%r13d, %eax
	je	LBB0_7
	jmp	LBB0_17
LBB0_10:
	movq	_EUNATCH@GOTPCREL(%rip), %rax
LBB0_11:
	xorl	%ebx, %ebx
LBB0_12:
	subl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_15:
	movq	%r14, %rdi
	callq	_dev_kfree_skb
	movq	_EUNATCH@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_16:
	movq	_EUNATCH@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_17:
	movq	_TASK_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_current_state
	movq	%r15, %rdi
	callq	_sk_atm
	movl	(%rax), %edi
	movq	_wait@GOTPCREL(%rip), %rsi
	callq	_remove_wait_queue
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_wait,4,2                       ## @wait
	.comm	_current,4,2                    ## @current
	.comm	_EUNATCH,4,2                    ## @EUNATCH
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ATMTCP_HDR_MAGIC,4,2           ## @ATMTCP_HDR_MAGIC
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ## @TASK_UNINTERRUPTIBLE
	.comm	_TASK_RUNNING,4,2               ## @TASK_RUNNING
	.no_dead_strip	_atmtcp_send_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmtcp_send_control
_atmtcp_send_control:                   ; @atmtcp_send_control
	.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, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _wait@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wait@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _current@GOTPAGE
Lloh4:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_DECLARE_WAITQUEUE
	ldr	w0, [x19]
	bl	_PRIV
	cbz	x0, LBB0_12
; %bb.1:
	ldr	w0, [x19]
	bl	_PRIV
	ldr	x8, [x0]
	cbz	x8, LBB0_12
; %bb.2:
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #12
	bl	_alloc_skb
	cbz	x0, LBB0_15
; %bb.3:
	mov	x23, x0
	bl	_mb
	ldr	w0, [x19]
	bl	_PRIV
	cbz	x0, LBB0_11
; %bb.4:
	ldr	w0, [x19]
	bl	_PRIV
	ldr	x24, [x0]
	cbz	x24, LBB0_11
; %bb.5:
	ldr	w1, [x23]
	mov	x0, x24
	bl	_atm_force_charge
	mov	x0, x23
	mov	w1, #12
	bl	_skb_put
	mov	x25, x0
	ldr	w8, [x22, #8]
	ldr	x9, [x22]
	str	x9, [x0]
	str	w8, [x0, #8]
Lloh9:
	adrp	x8, _ATMTCP_HDR_MAGIC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ATMTCP_HDR_MAGIC@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	str	w21, [x0], #4
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	stur	x19, [x25, #4]
	add	x21, x19, #4
	mov	x0, x20
	mov	x1, x21
	bl	_test_bit
	mov	x22, x0
	ldr	x8, [x24, #8]
	mov	x0, x24
	mov	x1, x23
	blr	x8
	mov	x0, x19
	bl	_sk_atm
	ldr	w0, [x0]
Lloh12:
	adrp	x1, _wait@GOTPAGE
Lloh13:
	ldr	x1, [x1, _wait@GOTPAGEOFF]
	bl	_add_wait_queue
	mov	x0, x20
	mov	x1, x21
	bl	_test_bit
	mov	w23, #0
	cmp	w0, w22
	b.ne	LBB0_17
; %bb.6:
Lloh14:
	adrp	x23, _TASK_UNINTERRUPTIBLE@GOTPAGE
Lloh15:
	ldr	x23, [x23, _TASK_UNINTERRUPTIBLE@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	bl	_mb
	ldr	w0, [x19]
	bl	_PRIV
	cbz	x0, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x19]
	bl	_PRIV
	ldr	x8, [x0]
	cbz	x8, LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x23]
	bl	_set_current_state
	bl	_schedule
	mov	x0, x20
	mov	x1, x21
	bl	_test_bit
	cmp	w0, w22
	b.eq	LBB0_7
; %bb.10:
	mov	w23, #0
	b	LBB0_17
LBB0_11:
	mov	x0, x23
	bl	_dev_kfree_skb
LBB0_12:
Lloh16:
	adrp	x8, _EUNATCH@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EUNATCH@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_14:
	mov	x0, x23
	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_15:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_13
LBB0_16:
Lloh20:
	adrp	x8, _EUNATCH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EUNATCH@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_17:
Lloh23:
	adrp	x8, _TASK_RUNNING@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TASK_RUNNING@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_set_current_state
	mov	x0, x19
	bl	_sk_atm
	ldr	w0, [x0]
Lloh26:
	adrp	x1, _wait@GOTPAGE
Lloh27:
	ldr	x1, [x1, _wait@GOTPAGEOFF]
	bl	_remove_wait_queue
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_wait,4,2                       ; @wait
	.comm	_current,4,2                    ; @current
	.comm	_EUNATCH,4,2                    ; @EUNATCH
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ATMTCP_HDR_MAGIC,4,2           ; @ATMTCP_HDR_MAGIC
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ; @TASK_UNINTERRUPTIBLE
	.comm	_TASK_RUNNING,4,2               ; @TASK_RUNNING
	.no_dead_strip	_atmtcp_send_control
.subsections_via_symbols
