	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdlcdrv_open
_hdlcdrv_open:                          ## @hdlcdrv_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	_netdev_priv
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	movl	$1, (%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 80(%rax)
	movq	$0, 96(%rax)
	movups	%xmm0, 112(%rax)
	movups	%xmm0, 128(%rax)
	movl	$1, 16(%rax)
	movups	%xmm0, 40(%rax)
	movups	%xmm0, 56(%rax)
	movq	$0, 72(%rax)
	movl	104(%rax), %edx
	movl	%edx, 32(%rax)
	movq	$0, 24(%rax)
	movq	%rbx, %rdi
	callq	*%rcx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_netif_start_queue
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_hdlcdrv_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdlcdrv_open
_hdlcdrv_open:                          ; @hdlcdrv_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	_netdev_priv
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	w9, #1
	str	w9, [x0]
	stp	xzr, xzr, [x0, #88]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x0, #112]
	str	w9, [x0, #16]
	stp	xzr, xzr, [x0, #72]
	stur	q0, [x0, #40]
	stur	q0, [x0, #56]
	ldr	w9, [x0, #104]
	str	w9, [x0, #32]
	str	xzr, [x0, #24]
	mov	x0, x19
	blr	x8
	cbnz	w0, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_netif_start_queue
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_hdlcdrv_open
.subsections_via_symbols
