	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mii_check_link                 ## -- Begin function mii_check_link
	.p2align	4, 0x90
_mii_check_link:                        ## @mii_check_link
	.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	_mii_link_ok
	movl	%eax, %r14d
	movl	(%rbx), %edi
	callq	_netif_carrier_ok
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_2
## %bb.5:
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_carrier_on               ## TAILCALL
LBB0_2:
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	testl	%r14d, %r14d
	jne	LBB0_4
## %bb.6:
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_carrier_off              ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mii_check_link                 ; -- Begin function mii_check_link
	.p2align	2
_mii_check_link:                        ; @mii_check_link
	.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	_mii_link_ok
	mov	x20, x0
	ldr	w0, [x19]
	bl	_netif_carrier_ok
	cbz	w20, LBB0_3
; %bb.1:
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_carrier_on
LBB0_3:
	cmp	w0, #0
	ccmp	w20, #0, #0, ne
	b.eq	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_carrier_off
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
