	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sixpack_open
_sixpack_open:                          ## @sixpack_open
	.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
	movq	%rdi, %r15
	movq	_CAP_NET_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	16(%r15), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.5:
	movq	_NET_NAME_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_sp_setup@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movl	$160, %edi
	callq	_alloc_netdev
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%r14, 152(%rax)
	leaq	36(%rax), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_init
	leaq	148(%rbx), %rdi
	movl	$1, %esi
	callq	_refcount_set
	leaq	144(%rbx), %rdi
	callq	_init_completion
	movslq	(%r14), %r13
	leaq	4(,%r13), %r12
	addq	%r13, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_kmalloc
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r12, %rdi
	movq	%rax, %r12
	callq	_kmalloc
	movq	%rax, %rcx
	testq	%r12, %r12
	je	LBB0_9
## %bb.8:
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.11:
	addq	%r13, %r13
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_lock_bh
	movq	%r15, 136(%rbx)
	movq	%r12, (%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rbx)
	movq	_AX25_MTU@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$73, %rax
	movq	%rax, 128(%rbx)
	movq	%r13, 16(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 112(%rbx)
	movups	%xmm0, 96(%rbx)
	movups	%xmm0, 80(%rbx)
	movq	_SIXP_TXDELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	_SIXP_PERSIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%rbx)
	movq	_SIXP_SLOTTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movabsq	$4294967392, %rax               ## imm = 0x100000060
	movq	%rax, 24(%rbx)
	movl	$1, 32(%rbx)
	movups	%xmm0, 48(%rbx)
	movq	%r14, %rdi
	callq	_netif_start_queue
	leaq	44(%rbx), %rdi
	movq	_sp_xmit_on_air@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %r13
	xorl	%r12d, %r12d
	xorl	%edx, %edx
	callq	_timer_setup
	movq	%rbx, %rdi
	addq	$40, %rdi
	movq	_resync_tnc@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_bh
	movq	%rbx, 8(%r15)
	movl	$65536, (%r15)                  ## imm = 0x10000
	movq	%r14, %rdi
	callq	_register_netdev
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.12:
	movq	%rbx, %rdi
	callq	_tnc_init
	jmp	LBB0_13
LBB0_1:
	movq	_EPERM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_13
LBB0_9:
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	movq	%r12, %r13
LBB0_10:
	movq	%rcx, %rdi
	callq	_kfree
	movq	%r13, %rdi
	callq	_kfree
	movq	%r14, %rdi
	callq	_free_netdev
	movl	%r15d, %r12d
LBB0_13:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CAP_NET_ADMIN,4,2              ## @CAP_NET_ADMIN
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sp%d"

	.comm	_NET_NAME_UNKNOWN,4,2           ## @NET_NAME_UNKNOWN
	.comm	_sp_setup,4,2                   ## @sp_setup
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_AX25_MTU,8,3                   ## @AX25_MTU
	.comm	_SIXP_TXDELAY,4,2               ## @SIXP_TXDELAY
	.comm	_SIXP_PERSIST,4,2               ## @SIXP_PERSIST
	.comm	_SIXP_SLOTTIME,4,2              ## @SIXP_SLOTTIME
	.comm	_sp_xmit_on_air,4,2             ## @sp_xmit_on_air
	.comm	_resync_tnc,4,2                 ## @resync_tnc
	.no_dead_strip	_sixpack_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function sixpack_open
lCPI0_0:
	.long	96                              ; 0x60
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_sixpack_open:                          ; @sixpack_open
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
Lloh0:
	adrp	x8, _CAP_NET_ADMIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CAP_NET_ADMIN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_5
; %bb.1:
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _NET_NAME_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NET_NAME_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _sp_setup@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sp_setup@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #160
	bl	_alloc_netdev
	cbz	x0, LBB0_7
; %bb.3:
	mov	x19, x0
	bl	_netdev_priv
	mov	x21, x0
	str	x19, [x0, #152]
	add	x23, x0, #36
	mov	x0, x23
	bl	_spin_lock_init
	add	x0, x21, #148
	mov	w25, #1
	mov	w1, #1
	bl	_refcount_set
	add	x0, x21, #144
	bl	_init_completion
	ldrsw	x8, [x19]
	lsl	x26, x8, #1
	add	x24, x26, #4
Lloh11:
	adrp	x27, _GFP_KERNEL@GOTPAGE
Lloh12:
	ldr	x27, [x27, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x24
	bl	_kmalloc
	mov	x22, x0
	ldr	w1, [x27]
	mov	x0, x24
	bl	_kmalloc
	mov	x24, x0
	cmp	x22, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_9
; %bb.4:
Lloh13:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_10
LBB0_5:
Lloh16:
	adrp	x8, _EPERM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh18:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_12
LBB0_9:
	mov	x0, x23
	bl	_spin_lock_bh
	stp	x22, x24, [x21]
Lloh22:
	adrp	x8, _AX25_MTU@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AX25_MTU@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	add	x8, x8, #73
	stp	x8, x20, [x21, #128]
	str	x26, [x21, #16]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x21, #80]
	str	q0, [x21, #112]
Lloh25:
	adrp	x8, _SIXP_TXDELAY@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SIXP_TXDELAY@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [x21, #72]
Lloh28:
	adrp	x8, _SIXP_PERSIST@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SIXP_PERSIST@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _SIXP_SLOTTIME@GOTPAGE
Lloh32:
	ldr	x9, [x9, _SIXP_SLOTTIME@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #64]
Lloh34:
	adrp	x8, lCPI0_0@PAGE
Lloh35:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x21, #24]
	str	w25, [x21, #32]
	stp	xzr, xzr, [x21, #48]
	mov	x0, x19
	bl	_netif_start_queue
	add	x0, x21, #44
Lloh36:
	adrp	x8, _sp_xmit_on_air@GOTPAGE
Lloh37:
	ldr	x8, [x8, _sp_xmit_on_air@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	add	x0, x21, #40
Lloh39:
	adrp	x8, _resync_tnc@GOTPAGE
Lloh40:
	ldr	x8, [x8, _resync_tnc@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	mov	x0, x23
	bl	_spin_unlock_bh
	str	x21, [x20, #8]
	mov	w8, #65536
	str	w8, [x20]
	mov	x0, x19
	bl	_register_netdev
	mov	x20, x0
	cbz	w0, LBB0_11
LBB0_10:
	mov	x0, x24
	bl	_kfree
	mov	x0, x22
	bl	_kfree
	mov	x0, x19
	bl	_free_netdev
	b	LBB0_12
LBB0_11:
	mov	x0, x21
	bl	_tnc_init
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdr	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_CAP_NET_ADMIN,4,2              ; @CAP_NET_ADMIN
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sp%d"

	.comm	_NET_NAME_UNKNOWN,4,2           ; @NET_NAME_UNKNOWN
	.comm	_sp_setup,4,2                   ; @sp_setup
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_AX25_MTU,8,3                   ; @AX25_MTU
	.comm	_SIXP_TXDELAY,4,2               ; @SIXP_TXDELAY
	.comm	_SIXP_PERSIST,4,2               ; @SIXP_PERSIST
	.comm	_SIXP_SLOTTIME,4,2              ; @SIXP_SLOTTIME
	.comm	_sp_xmit_on_air,4,2             ; @sp_xmit_on_air
	.comm	_resync_tnc,4,2                 ; @resync_tnc
	.no_dead_strip	_sixpack_open
.subsections_via_symbols
