	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phonet_device_notify
_phonet_device_notify:                  ## @phonet_device_notify
	.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, %r14
	movq	%rsi, %rbx
	movq	%rdx, %rdi
	callq	_dev_net
	movq	_phonet_net_id@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_net_generic
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	cmpq	$128, %rbx
	je	LBB0_5
## %bb.2:
	cmpq	$129, %rbx
	jne	LBB0_6
## %bb.3:
	movl	(%r14), %eax
	movq	_ARPHRD_PHONET@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_phonet_device_autoconf
	jmp	LBB0_6
LBB0_5:
	movq	%r14, %rdi
	callq	_phonet_device_destroy
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_phonet_net_id,4,2              ## @phonet_net_id
	.comm	_ARPHRD_PHONET,4,2              ## @ARPHRD_PHONET
	.no_dead_strip	_phonet_device_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phonet_device_notify
_phonet_device_notify:                  ; @phonet_device_notify
	.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	x8, _phonet_net_id@GOTPAGE
Lloh1:
	ldr	x8, [x8, _phonet_net_id@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_net_generic
	cbz	x0, LBB0_6
; %bb.1:
	cmp	x20, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	x20, #129
	b.ne	LBB0_6
; %bb.3:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _ARPHRD_PHONET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ARPHRD_PHONET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_phonet_device_autoconf
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_phonet_device_destroy
LBB0_6:
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_phonet_net_id,4,2              ; @phonet_net_id
	.comm	_ARPHRD_PHONET,4,2              ; @ARPHRD_PHONET
	.no_dead_strip	_phonet_device_notify
.subsections_via_symbols
