	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cycx_netdevice_init
_cycx_netdevice_init:                   ## @cycx_netdevice_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	8(%rax), %r14
	cmpl	$0, 4(%rax)
	jne	LBB0_2
## %bb.1:
	movl	(%rax), %edi
	callq	_htons
	movq	40(%rbx), %rcx
	movl	%eax, (%rcx)
LBB0_2:
	movl	16(%r14), %eax
	movl	%eax, 32(%rbx)
	movl	12(%r14), %eax
	movl	%eax, 28(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 24(%rbx)
	movslq	(%r14), %rax
	movq	%rax, (%rbx)
	movl	4(%r14), %ecx
	leal	-1(%rax,%rcx), %eax
	cltq
	movq	%rax, 8(%rbx)
	movq	_IFF_NOARP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 20(%rbx)
	movl	$10, 16(%rbx)
	movq	_WAN_DISCONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cycx_x25_set_chan_state
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_NOARP,4,2                  ## @IFF_NOARP
	.comm	_WAN_DISCONNECTED,4,2           ## @WAN_DISCONNECTED
	.no_dead_strip	_cycx_netdevice_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cycx_netdevice_init
_cycx_netdevice_init:                   ; @cycx_netdevice_init
	.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	x20, [x0, #8]
	ldr	w8, [x0, #4]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w0, [x0]
	bl	_htons
	ldr	x8, [x19, #40]
	str	w0, [x8]
LBB0_2:
	ldr	w8, [x20, #16]
	str	w8, [x19, #32]
	ldr	d0, [x20, #8]
	str	d0, [x19, #24]
	ldp	w8, w9, [x20]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	w9, w8, w9
	sub	w9, w9, #1
	sxtw	x9, w9
	stp	x8, x9, [x19]
Lloh0:
	adrp	x8, _IFF_NOARP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFF_NOARP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #20]
	orr	w8, w9, w8
	mov	w9, #10
	stp	w9, w8, [x19, #16]
Lloh3:
	adrp	x8, _WAN_DISCONNECTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WAN_DISCONNECTED@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cycx_x25_set_chan_state
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_NOARP,4,2                  ; @IFF_NOARP
	.comm	_WAN_DISCONNECTED,4,2           ; @WAN_DISCONNECTED
	.no_dead_strip	_cycx_netdevice_init
.subsections_via_symbols
