	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pegasus_open
_pegasus_open:                          ## @pegasus_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r12
	cmpq	$0, 24(%rax)
	jne	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	callq	_pull_skb
	movq	%rax, 24(%r12)
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	_EthID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %ecx
	movq	%r12, %rdi
	movl	$6, %edx
	callq	_set_registers
	movl	4(%r12), %r15d
	movl	8(%r12), %ebx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_usb_rcvbulkpipe
	movq	24(%r12), %rcx
	movl	(%rcx), %ecx
	movq	_PEGASUS_MTU@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r8
	addq	$8, %r8
	movq	_read_bulk_callback@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	subq	$8, %rsp
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	pushq	%r12
	callq	_usb_fill_bulk_urb
	addq	$16, %rsp
	movl	4(%r12), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movl	%eax, %r15d
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r15d, %eax
	jne	LBB0_6
## %bb.5:
	movl	12(%r12), %edi
	callq	_netif_device_detach
LBB0_6:
	movq	%r12, %rdi
	callq	_netif_msg_ifup
	testq	%rax, %rax
	je	LBB0_21
## %bb.7:
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_pr_debug
	jmp	LBB0_21
LBB0_8:
	movl	(%r12), %r15d
	movl	8(%r12), %ebx
	movl	%ebx, %edi
	movl	$3, %esi
	callq	_usb_rcvintpipe
	movl	16(%r12), %r10d
	movl	20(%r12), %ecx
	movq	_intr_callback@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	$4, %r8d
	pushq	%r10
	pushq	%r12
	callq	_usb_fill_int_urb
	addq	$16, %rsp
	movl	(%r12), %edi
	movl	(%r13), %esi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_14
## %bb.9:
	movl	%eax, %r15d
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r15d, %eax
	jne	LBB0_11
## %bb.10:
	movl	12(%r12), %edi
	callq	_netif_device_detach
LBB0_11:
	movq	%r12, %rdi
	callq	_netif_msg_ifup
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_13:
	movl	4(%r12), %edi
	callq	_usb_kill_urb
	jmp	LBB0_21
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_21
LBB0_14:
	movl	8(%r12), %esi
	movq	%r14, %rdi
	callq	_enable_net_traffic
	testl	%eax, %eax
	je	LBB0_18
## %bb.15:
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_netif_msg_ifup
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movl	(%r14), %esi
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_pr_debug
LBB0_17:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	movl	4(%r12), %edi
	callq	_usb_kill_urb
	movl	(%r12), %edi
	callq	_usb_kill_urb
	movq	%r12, %rdi
	callq	_free_skb_pool
	jmp	LBB0_21
LBB0_18:
	movq	%r14, %rdi
	callq	_set_carrier
	movq	%r14, %rdi
	callq	_netif_start_queue
	movq	%r12, %rdi
	callq	_netif_msg_ifup
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	movl	(%r14), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_pr_debug
	jmp	LBB0_21
LBB0_19:
	xorl	%r15d, %r15d
LBB0_21:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EthID,4,2                      ## @EthID
	.comm	_PEGASUS_MTU,8,3                ## @PEGASUS_MTU
	.comm	_read_bulk_callback,4,2         ## @read_bulk_callback
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: failed rx_urb, %d"

	.comm	_intr_callback,4,2              ## @intr_callback
L_.str.1:                               ## @.str.1
	.asciz	"%s: failed intr_urb, %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: can't enable_net_traffic() - %d\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.3:                               ## @.str.3
	.asciz	"%s: open\n"

	.no_dead_strip	_pegasus_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pegasus_open
_pegasus_open:                          ; @pegasus_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0, #24]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_pull_skb
	str	x0, [x19, #24]
	cbz	x0, LBB0_13
LBB0_2:
Lloh0:
	adrp	x8, _EthID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EthID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w3, [x20, #4]
	mov	x0, x19
	mov	w2, #6
	bl	_set_registers
	ldp	w21, w22, [x19, #4]
	mov	x0, x22
	mov	w1, #1
	bl	_usb_rcvbulkpipe
	mov	x2, x0
	ldr	x8, [x19, #24]
Lloh3:
	adrp	x9, _PEGASUS_MTU@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PEGASUS_MTU@GOTPAGEOFF]
	ldr	w3, [x8]
Lloh5:
	ldr	x8, [x9]
	add	x4, x8, #8
Lloh6:
	adrp	x8, _read_bulk_callback@GOTPAGE
Lloh7:
	ldr	x8, [x8, _read_bulk_callback@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	x6, x19
	bl	_usb_fill_bulk_urb
	ldr	w0, [x19, #4]
Lloh9:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_usb_submit_urb
	cbz	w0, LBB0_7
; %bb.3:
	mov	x21, x0
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_5
; %bb.4:
	ldr	w0, [x19, #12]
	bl	_netif_device_detach
LBB0_5:
	mov	x0, x19
	bl	_netif_msg_ifup
	cbz	x0, LBB0_21
; %bb.6:
	ldr	w1, [x20]
	str	x21, [sp]
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	b	LBB0_21
LBB0_7:
	ldr	w21, [x19]
	ldr	w22, [x19, #8]
	mov	x0, x22
	mov	w1, #3
	bl	_usb_rcvintpipe
	mov	x2, x0
Lloh16:
	adrp	x8, _intr_callback@GOTPAGE
Lloh17:
	ldr	x8, [x8, _intr_callback@GOTPAGEOFF]
Lloh18:
	ldr	w5, [x8]
	ldp	w7, w3, [x19, #16]
	mov	x0, x21
	mov	x1, x22
	mov	w4, #4
	mov	x6, x19
	bl	_usb_fill_int_urb
	ldr	w0, [x19]
	ldr	w1, [x23]
	bl	_usb_submit_urb
	cbz	w0, LBB0_14
; %bb.8:
	mov	x21, x0
Lloh19:
	adrp	x8, _ENODEV@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_10
; %bb.9:
	ldr	w0, [x19, #12]
	bl	_netif_device_detach
LBB0_10:
	mov	x0, x19
	bl	_netif_msg_ifup
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w1, [x20]
	mov	x8, x21
	str	x8, [sp]
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
LBB0_12:
	ldr	w0, [x19, #4]
	bl	_usb_kill_urb
	b	LBB0_21
LBB0_13:
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_21
LBB0_14:
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_enable_net_traffic
	cbz	w0, LBB0_18
; %bb.15:
	mov	x21, x0
	mov	x0, x19
	bl	_netif_msg_ifup
	cbz	x0, LBB0_17
; %bb.16:
	ldr	w1, [x20]
	str	x21, [sp]
Lloh27:
	adrp	x0, l_.str.2@PAGE
Lloh28:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
LBB0_17:
Lloh29:
	adrp	x8, _EIO@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	neg	w21, w8
	ldr	w0, [x19, #4]
	bl	_usb_kill_urb
	ldr	w0, [x19]
	bl	_usb_kill_urb
	mov	x0, x19
	bl	_free_skb_pool
	b	LBB0_21
LBB0_18:
	mov	x0, x20
	bl	_set_carrier
	mov	x0, x20
	bl	_netif_start_queue
	mov	x0, x19
	bl	_netif_msg_ifup
	cbz	x0, LBB0_20
; %bb.19:
	ldr	w1, [x20]
Lloh32:
	adrp	x0, l_.str.3@PAGE
Lloh33:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_debug
LBB0_20:
	mov	w21, #0
LBB0_21:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EthID,4,2                      ; @EthID
	.comm	_PEGASUS_MTU,8,3                ; @PEGASUS_MTU
	.comm	_read_bulk_callback,4,2         ; @read_bulk_callback
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: failed rx_urb, %d"

	.comm	_intr_callback,4,2              ; @intr_callback
l_.str.1:                               ; @.str.1
	.asciz	"%s: failed intr_urb, %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: can't enable_net_traffic() - %d\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.3:                               ; @.str.3
	.asciz	"%s: open\n"

	.no_dead_strip	_pegasus_open
.subsections_via_symbols
