	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ax25_device_event
_ax25_device_event:                     ## @ax25_device_event
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdx, %rdi
	callq	_dev_net
	movq	_init_net@GOTPCREL(%rip), %rsi
	movl	%eax, %edi
	callq	_net_eq
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	(%rbx), %rax
	movq	_ARPHRD_AX25@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	cmpq	$129, %r14
	je	LBB0_5
## %bb.3:
	cmpq	$128, %r14
	jne	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_ax25_dev_device_up
	jmp	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_ax25_kill_by_device
	movq	%rbx, %rdi
	callq	_ax25_rt_device_down
	movq	%rbx, %rdi
	callq	_ax25_dev_device_down
LBB0_6:
	movq	_NOTIFY_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_init_net,4,2                   ## @init_net
	.comm	_NOTIFY_DONE,4,2                ## @NOTIFY_DONE
	.comm	_ARPHRD_AX25,8,3                ## @ARPHRD_AX25
	.no_dead_strip	_ax25_device_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ax25_device_event
_ax25_device_event:                     ; @ax25_device_event
	.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, x2
	mov	x20, x1
	mov	x0, x2
	bl	_dev_net
Lloh0:
	adrp	x1, _init_net@GOTPAGE
Lloh1:
	ldr	x1, [x1, _init_net@GOTPAGEOFF]
	bl	_net_eq
	cbz	w0, LBB0_6
; %bb.1:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _ARPHRD_AX25@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ARPHRD_AX25@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	cmp	x20, #129
	b.eq	LBB0_5
; %bb.3:
	cmp	x20, #128
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_ax25_dev_device_up
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_ax25_kill_by_device
	mov	x0, x19
	bl	_ax25_rt_device_down
	mov	x0, x19
	bl	_ax25_dev_device_down
LBB0_6:
Lloh5:
	adrp	x8, _NOTIFY_DONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NOTIFY_DONE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_init_net,4,2                   ; @init_net
	.comm	_NOTIFY_DONE,4,2                ; @NOTIFY_DONE
	.comm	_ARPHRD_AX25,8,3                ; @ARPHRD_AX25
	.no_dead_strip	_ax25_device_event
.subsections_via_symbols
