	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rhine_set_carrier
_rhine_set_carrier:                     ## @rhine_set_carrier
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	cmpl	$0, (%r15)
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_netif_carrier_ok
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_netif_carrier_on
LBB0_3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_rhine_check_media
	movq	_link@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r15), %r15d
	movq	%rbx, %rdi
	callq	_netif_carrier_ok
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	movl	%r15d, %r8d
	movl	%eax, %r9d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_info                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_link,4,2                       ## @link
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"force_media %d, carrier %d\n"

	.no_dead_strip	_rhine_set_carrier
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rhine_set_carrier
_rhine_set_carrier:                     ; @rhine_set_carrier
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x0
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_netdev_priv
	mov	x20, x0
	ldr	w8, [x21]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_netif_carrier_ok
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_netif_carrier_on
LBB0_3:
	mov	x0, x19
	mov	w1, #0
	bl	_rhine_check_media
Lloh0:
	adrp	x8, _link@GOTPAGE
Lloh1:
	ldr	x8, [x8, _link@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	ldr	w21, [x21]
	mov	x0, x19
	bl	_netif_carrier_ok
	mov	x5, x0
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	x4, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_netif_info
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_link,4,2                       ; @link
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"force_media %d, carrier %d\n"

	.no_dead_strip	_rhine_set_carrier
.subsections_via_symbols
