	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isdn_net_open
_isdn_net_open:                         ## @isdn_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_netif_start_queue
	movq	%rbx, %rdi
	callq	_isdn_net_reset
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	cmpl	$4, (%rax)
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$252, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%rax), %rsi
	addq	$-4, %rsi
	cmpq	%rdx, %rsi
	ja	LBB0_2
LBB0_3:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	movq	(%rbx), %rdi
	addq	$8, %rdi
	movl	$4, %edx
	callq	_memcpy
LBB0_6:
	movq	%rbx, %rdi
	callq	_MASTER_TO_SLAVE
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_isdn_net_reset
	movq	%rbx, %rdi
	callq	_MASTER_TO_SLAVE
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
LBB0_9:
	xorl	%eax, %eax
	callq	_isdn_lock_drivers
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_isdn_net_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isdn_net_open
_isdn_net_open:                         ; @isdn_net_open
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_netif_start_queue
	mov	x0, x19
	bl	_isdn_net_reset
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #4
	b.eq	LBB0_3
; %bb.1:
	mov	x9, #0
	ldr	x10, [x19]
	mov	w11, #252
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	w11, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x12, [x8]
	sub	x12, x12, #4
	cmp	x12, x9
	b.hi	LBB0_2
LBB0_3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	x1, [x8]
	cbz	x1, LBB0_6
; %bb.5:
	ldr	x8, [x19]
	add	x0, x8, #8
	mov	w2, #4
	bl	_memcpy
LBB0_6:
	mov	x0, x19
	bl	_MASTER_TO_SLAVE
	cbz	x0, LBB0_9
; %bb.7:
	mov	x19, x0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_isdn_net_reset
	mov	x0, x19
	bl	_MASTER_TO_SLAVE
	mov	x19, x0
	cbnz	x0, LBB0_8
LBB0_9:
	bl	_isdn_lock_drivers
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_isdn_net_open
.subsections_via_symbols
