	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ax_handle_link_change
_ax_handle_link_change:                 ## @ax_handle_link_change
	.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	_to_ax_dev
	movq	(%rbx), %rdi
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.1:
	movq	8(%rdi), %rdx
	cmpq	%rdx, (%rax)
	jne	LBB0_2
## %bb.4:
	movl	16(%rdi), %esi
	cmpl	%esi, 8(%rax)
	jne	LBB0_3
## %bb.5:
	cmpq	16(%rax), %rcx
	jne	LBB0_9
	jmp	LBB0_6
LBB0_7:
	cmpq	$0, 16(%rax)
	je	LBB0_6
## %bb.8:
	movq	$0, (%rax)
	movl	$-1, 8(%rax)
	jmp	LBB0_9
LBB0_2:
	movl	16(%rdi), %esi
LBB0_3:
	movq	%rdx, (%rax)
	movl	%esi, 8(%rax)
	cmpq	16(%rax), %rcx
	je	LBB0_10
LBB0_9:
	addq	$16, %rax
	movq	%rcx, (%rax)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_phy_print_status               ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ax_handle_link_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ax_handle_link_change
_ax_handle_link_change:                 ; @ax_handle_link_change
	.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	_to_ax_dev
	mov	x8, x0
	ldr	x0, [x19]
	ldr	x9, [x0]
	cbz	x9, LBB0_4
; %bb.1:
	ldr	x11, [x8]
	ldr	x10, [x0, #8]
	cmp	x11, x10
	b.ne	LBB0_6
; %bb.2:
	ldr	w12, [x8, #8]
	ldr	w11, [x0, #16]
	cmp	w12, w11
	b.ne	LBB0_7
; %bb.3:
	ldr	x10, [x8, #16]!
	cmp	x9, x10
	b.ne	LBB0_8
	b	LBB0_10
LBB0_4:
	mov	x10, x8
	ldr	x11, [x10, #16]!
	cbz	x11, LBB0_10
; %bb.5:
	str	xzr, [x8]
	mov	w11, #-1
	str	w11, [x8, #8]
	mov	x8, x10
	b	LBB0_8
LBB0_6:
	ldr	w11, [x0, #16]
LBB0_7:
	str	x10, [x8]
	str	w11, [x8, #8]
	ldr	x10, [x8, #16]!
	cmp	x9, x10
	b.eq	LBB0_9
LBB0_8:
	str	x9, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_phy_print_status
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ax_handle_link_change
.subsections_via_symbols
