	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iss_net_open
_iss_net_open:                          ## @iss_net_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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_spin_lock
	movq	%r14, %rdi
	callq	*56(%r14)
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	cmpl	$0, 48(%r14)
	jne	LBB0_4
## %bb.3:
	movq	40(%r14), %rdx
	addq	$8, %rdx
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	callq	_dev_ip_addr
	movq	40(%r14), %rsi
	movq	%r15, %rdi
	callq	_set_ether_mac
LBB0_4:
	movq	%r15, %rdi
	callq	_netif_start_queue
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_iss_net_rx
	testl	%eax, %eax
	jg	LBB0_5
## %bb.6:
	movl	%eax, %ebx
	movq	_opened_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	leaq	32(%r14), %rdi
	movq	_opened@GOTPCREL(%rip), %rsi
	callq	_list_add
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	%r14, %r15
	addq	$16, %r15
	movq	%r15, %rdi
	callq	_init_timer
	movq	_ISS_NET_TIMER_VALUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rsi, 8(%r14)
	movq	%r14, 16(%r14)
	movq	_iss_net_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	_jiffies@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_mod_timer
	jmp	LBB0_7
LBB0_1:
	movl	%eax, %ebx
LBB0_7:
	movq	%r14, %rdi
	callq	_spin_unlock
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_opened_lock,4,2                ## @opened_lock
	.comm	_opened,4,2                     ## @opened
	.comm	_ISS_NET_TIMER_VALUE,8,3        ## @ISS_NET_TIMER_VALUE
	.comm	_iss_net_timer,4,2              ## @iss_net_timer
	.comm	_jiffies,8,3                    ## @jiffies
	.no_dead_strip	_iss_net_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iss_net_open
_iss_net_open:                          ; @iss_net_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_netdev_priv
	mov	x19, x0
	bl	_spin_lock
	ldr	x8, [x19, #56]
	mov	x0, x19
	blr	x8
	tbnz	w0, #31, LBB0_6
; %bb.1:
	ldr	w8, [x19, #48]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	x8, [x19, #40]
	add	x2, x8, #8
	add	x1, sp, #7
	mov	x0, x21
	bl	_dev_ip_addr
	ldr	x1, [x19, #40]
	mov	x0, x21
	bl	_set_ether_mac
LBB0_3:
	mov	x0, x21
	bl	_netif_start_queue
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_iss_net_rx
	cmp	w0, #0
	b.gt	LBB0_4
; %bb.5:
	mov	x20, x0
Lloh3:
	adrp	x21, _opened_lock@GOTPAGE
Lloh4:
	ldr	x21, [x21, _opened_lock@GOTPAGEOFF]
	mov	x0, x21
	bl	_spin_lock
	add	x0, x19, #32
Lloh5:
	adrp	x1, _opened@GOTPAGE
Lloh6:
	ldr	x1, [x1, _opened@GOTPAGEOFF]
	bl	_list_add
	mov	x0, x21
	bl	_spin_unlock
	add	x21, x19, #16
	mov	x0, x21
	bl	_init_timer
Lloh7:
	adrp	x8, _ISS_NET_TIMER_VALUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ISS_NET_TIMER_VALUE@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	stp	x8, x19, [x19, #8]
Lloh10:
	adrp	x9, _iss_net_timer@GOTPAGE
Lloh11:
	ldr	x9, [x9, _iss_net_timer@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	str	w9, [x19, #24]
Lloh13:
	adrp	x9, _jiffies@GOTPAGE
Lloh14:
	ldr	x9, [x9, _jiffies@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x21
	bl	_mod_timer
	b	LBB0_7
LBB0_6:
	mov	x20, x0
LBB0_7:
	mov	x0, x19
	bl	_spin_unlock
	ldr	x8, [sp, #24]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_opened_lock,4,2                ; @opened_lock
	.comm	_opened,4,2                     ; @opened
	.comm	_ISS_NET_TIMER_VALUE,8,3        ; @ISS_NET_TIMER_VALUE
	.comm	_iss_net_timer,4,2              ; @iss_net_timer
	.comm	_jiffies,8,3                    ; @jiffies
	.no_dead_strip	_iss_net_open
.subsections_via_symbols
