	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmtcp_v_send
_atmtcp_v_send:                         ## @atmtcp_v_send
	.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	%rsi, %r14
	movq	%rdi, %r13
	movq	40(%rdi), %rax
	movq	_ATM_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	movq	16(%r13), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	*%rax
	jmp	LBB0_4
LBB0_6:
	movl	32(%r13), %edi
	callq	_PRIV
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_8
## %bb.13:
	movl	(%r14), %esi
	addl	$24, %esi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_atm_alloc_charge
	testq	%rax, %rax
	je	LBB0_14
## %bb.18:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$24, %esi
	callq	_skb_put
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rbx
	movl	28(%r13), %edi
	callq	_htons
	movq	%rax, 16(%rbx)
	movl	24(%r13), %edi
	callq	_htons
	movq	%rax, 8(%rbx)
	movl	(%r14), %r12d
	movl	%r12d, %edi
	callq	_htonl
	movl	%eax, (%rbx)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_skb_put
	movl	(%r14), %edx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_skb_copy_from_linear_data
	movq	16(%r13), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	*%rax
	jmp	LBB0_21
LBB0_8:
	movq	16(%r13), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	*%rax
	jmp	LBB0_11
LBB0_3:
	movq	%r14, %rdi
	callq	_dev_kfree_skb
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_5:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_22
LBB0_10:
	movq	%r14, %rdi
	callq	_dev_kfree_skb
LBB0_11:
	xorl	%eax, %eax
	testq	%rbx, %rbx
	jne	LBB0_22
## %bb.12:
	movq	(%r13), %rdi
	addq	$8, %rdi
	callq	_atomic_inc
	movq	_ENOLINK@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_14:
	movq	16(%r13), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	*%rax
	jmp	LBB0_17
LBB0_20:
	movq	%r14, %rdi
	callq	_dev_kfree_skb
LBB0_21:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	*8(%r15)
	movq	(%r13), %rdi
	addq	$4, %rdi
	callq	_atomic_inc
	movq	(%r15), %rdi
	callq	_atomic_inc
	xorl	%eax, %eax
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	%r14, %rdi
	callq	_dev_kfree_skb
LBB0_17:
	movq	(%r13), %rdi
	addq	$8, %rdi
	callq	_atomic_inc
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_ATM_NONE,8,3                   ## @ATM_NONE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOLINK,4,2                    ## @ENOLINK
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_atmtcp_v_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmtcp_v_send
_atmtcp_v_send:                         ; @atmtcp_v_send
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #40]
Lloh0:
	adrp	x9, _ATM_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATM_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_10
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	blr	x8
	b	LBB0_11
LBB0_3:
	ldr	w0, [x19, #32]
	bl	_PRIV
	mov	x22, x0
	cbz	x0, LBB0_8
; %bb.4:
	ldr	x21, [x22]
	cbz	x21, LBB0_8
; %bb.5:
	ldr	w8, [x20]
	add	w1, w8, #24
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_atm_alloc_charge
	cbz	x0, LBB0_15
; %bb.6:
	mov	x22, x0
	mov	w1, #24
	bl	_skb_put
	mov	x23, x0
	ldr	w0, [x19, #28]
	bl	_htons
	str	x0, [x23, #16]
	ldr	w0, [x19, #24]
	bl	_htons
	str	x0, [x23, #8]
	ldr	w24, [x20]
	mov	x0, x24
	bl	_htonl
	str	w0, [x23]
	mov	x0, x22
	mov	x1, x24
	bl	_skb_put
	mov	x1, x0
	ldr	w2, [x20]
	mov	x0, x20
	bl	_skb_copy_from_linear_data
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_17
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	blr	x8
	b	LBB0_18
LBB0_8:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_13
; %bb.9:
	mov	x0, x19
	mov	x1, x20
	blr	x8
	cbnz	x22, LBB0_19
	b	LBB0_14
LBB0_10:
	mov	x0, x20
	bl	_dev_kfree_skb
LBB0_11:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_20
LBB0_13:
	mov	x0, x20
	bl	_dev_kfree_skb
	cbnz	x22, LBB0_19
LBB0_14:
	ldr	x8, [x19]
	add	x0, x8, #8
	bl	_atomic_inc
Lloh8:
	adrp	x8, _ENOLINK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOLINK@GOTPAGEOFF]
	b	LBB0_12
LBB0_15:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_21
; %bb.16:
	mov	x0, x19
	mov	x1, x20
	blr	x8
	b	LBB0_22
LBB0_17:
	mov	x0, x20
	bl	_dev_kfree_skb
LBB0_18:
	ldr	x8, [x21, #8]
	mov	x0, x21
	mov	x1, x22
	blr	x8
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_atomic_inc
	ldr	x0, [x21]
	bl	_atomic_inc
LBB0_19:
	mov	w0, #0
LBB0_20:
	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
	ret
LBB0_21:
	mov	x0, x20
	bl	_dev_kfree_skb
LBB0_22:
	ldr	x8, [x19]
	add	x0, x8, #8
	bl	_atomic_inc
Lloh10:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ATM_NONE,8,3                   ; @ATM_NONE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOLINK,4,2                    ; @ENOLINK
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_atmtcp_v_send
.subsections_via_symbols
