	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x25_link_device_up             ## -- Begin function x25_link_device_up
	.p2align	4, 0x90
_x25_link_device_up:                    ## @x25_link_device_up
	.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, %r14
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	44(%rax), %rdi
	callq	_skb_queue_head_init
	leaq	40(%rbx), %rdi
	movq	_x25_t20timer_expiry@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_setup_timer
	movq	%r14, %rdi
	callq	_dev_hold
	movq	%r14, 32(%rbx)
	movq	_X25_LINK_STATE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	_X25_MASK_REVERSE@GOTPCREL(%rip), %rax
	movq	_X25_MASK_THROUGHPUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_X25_MASK_PACKET_SIZE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_X25_MASK_WINDOW_SIZE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_sysctl_x25_restart_request_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	leaq	8(%rbx), %rdi
	movl	$1, %esi
	callq	_atomic_set
	movq	_x25_neigh_list_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_write_lock_bh
	addq	$4, %rbx
	movq	_x25_neigh_list@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdi
	callq	_list_add
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_write_unlock_bh                ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_x25_t20timer_expiry,4,2        ## @x25_t20timer_expiry
	.comm	_X25_LINK_STATE_0,4,2           ## @X25_LINK_STATE_0
	.comm	_X25_MASK_REVERSE,4,2           ## @X25_MASK_REVERSE
	.comm	_X25_MASK_THROUGHPUT,4,2        ## @X25_MASK_THROUGHPUT
	.comm	_X25_MASK_PACKET_SIZE,4,2       ## @X25_MASK_PACKET_SIZE
	.comm	_X25_MASK_WINDOW_SIZE,4,2       ## @X25_MASK_WINDOW_SIZE
	.comm	_sysctl_x25_restart_request_timeout,4,2 ## @sysctl_x25_restart_request_timeout
	.comm	_x25_neigh_list_lock,4,2        ## @x25_neigh_list_lock
	.comm	_x25_neigh_list,4,2             ## @x25_neigh_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x25_link_device_up             ; -- Begin function x25_link_device_up
	.p2align	2
_x25_link_device_up:                    ; @x25_link_device_up
	.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	x20, x0
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kmalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	add	x0, x0, #44
	bl	_skb_queue_head_init
	add	x0, x19, #40
Lloh3:
	adrp	x8, _x25_t20timer_expiry@GOTPAGE
Lloh4:
	ldr	x8, [x8, _x25_t20timer_expiry@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_setup_timer
	mov	x0, x20
	bl	_dev_hold
	str	x20, [x19, #32]
Lloh6:
	adrp	x8, _X25_LINK_STATE_0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _X25_LINK_STATE_0@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	str	xzr, [x19, #16]
Lloh9:
	adrp	x8, _X25_MASK_REVERSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _X25_MASK_REVERSE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _X25_MASK_THROUGHPUT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _X25_MASK_THROUGHPUT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _X25_MASK_PACKET_SIZE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _X25_MASK_PACKET_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _X25_MASK_WINDOW_SIZE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _X25_MASK_WINDOW_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
Lloh21:
	adrp	x8, _sysctl_x25_restart_request_timeout@GOTPAGE
Lloh22:
	ldr	x8, [x8, _sysctl_x25_restart_request_timeout@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	add	x0, x19, #8
	mov	w1, #1
	bl	_atomic_set
Lloh24:
	adrp	x20, _x25_neigh_list_lock@GOTPAGE
Lloh25:
	ldr	x20, [x20, _x25_neigh_list_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_write_lock_bh
	add	x0, x19, #4
Lloh26:
	adrp	x1, _x25_neigh_list@GOTPAGE
Lloh27:
	ldr	x1, [x1, _x25_neigh_list@GOTPAGEOFF]
	bl	_list_add
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_write_unlock_bh
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_x25_t20timer_expiry,4,2        ; @x25_t20timer_expiry
	.comm	_X25_LINK_STATE_0,4,2           ; @X25_LINK_STATE_0
	.comm	_X25_MASK_REVERSE,4,2           ; @X25_MASK_REVERSE
	.comm	_X25_MASK_THROUGHPUT,4,2        ; @X25_MASK_THROUGHPUT
	.comm	_X25_MASK_PACKET_SIZE,4,2       ; @X25_MASK_PACKET_SIZE
	.comm	_X25_MASK_WINDOW_SIZE,4,2       ; @X25_MASK_WINDOW_SIZE
	.comm	_sysctl_x25_restart_request_timeout,4,2 ; @sysctl_x25_restart_request_timeout
	.comm	_x25_neigh_list_lock,4,2        ; @x25_neigh_list_lock
	.comm	_x25_neigh_list,4,2             ; @x25_neigh_list
.subsections_via_symbols
