	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ravb_config
_ravb_config:                           ## @ravb_config
	.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, %r14
	movq	_CCC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CCC_OPC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CCC_OPC_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_ravb_modify
	movq	_CSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CSR_OPS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CSR_OPS_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_ravb_wait
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_err
LBB0_2:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CCC,4,2                        ## @CCC
	.comm	_CCC_OPC,4,2                    ## @CCC_OPC
	.comm	_CCC_OPC_CONFIG,4,2             ## @CCC_OPC_CONFIG
	.comm	_CSR,4,2                        ## @CSR
	.comm	_CSR_OPS,4,2                    ## @CSR_OPS
	.comm	_CSR_OPS_CONFIG,4,2             ## @CSR_OPS_CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to switch device to config mode\n"

	.no_dead_strip	_ravb_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ravb_config
_ravb_config:                           ; @ravb_config
	.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
Lloh0:
	adrp	x8, _CCC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CCC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _CCC_OPC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CCC_OPC@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _CCC_OPC_CONFIG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CCC_OPC_CONFIG@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	bl	_ravb_modify
Lloh9:
	adrp	x8, _CSR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CSR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _CSR_OPS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CSR_OPS@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _CSR_OPS_CONFIG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CSR_OPS_CONFIG@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_ravb_wait
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_CCC,4,2                        ; @CCC
	.comm	_CCC_OPC,4,2                    ; @CCC_OPC
	.comm	_CCC_OPC_CONFIG,4,2             ; @CCC_OPC_CONFIG
	.comm	_CSR,4,2                        ; @CSR
	.comm	_CSR_OPS,4,2                    ; @CSR_OPS
	.comm	_CSR_OPS_CONFIG,4,2             ; @CSR_OPS_CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to switch device to config mode\n"

	.no_dead_strip	_ravb_config
.subsections_via_symbols
