	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ravb_open
_ravb_open:                             ## @ravb_open
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	40(%rax), %r12
	movq	_RAVB_BE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	8(%rbx), %rdi
	callq	_napi_enable
	movq	_RAVB_NC@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	shlq	$2, %rdi
	addq	8(%rbx), %rdi
	callq	_napi_enable
	movq	(%rbx), %rax
	movq	_RCAR_GEN2@GOTPCREL(%rip), %rcx
	movl	(%r14), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_ravb_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%r14), %ecx
	movq	%r14, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_err
	jmp	LBB0_23
LBB0_3:
	movq	_ravb_multi_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %r8
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_ravb_hook_irq
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_23
## %bb.4:
	movl	16(%rbx), %edi
	movq	_ravb_emac_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %r8
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_ravb_hook_irq
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_22
## %bb.5:
	movq	24(%rbx), %rax
	movq	_RAVB_BE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_ravb_be_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %r8
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_ravb_hook_irq
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_21
## %bb.6:
	movq	32(%rbx), %rax
	movq	_RAVB_BE@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_ravb_be_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %r8
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_ravb_hook_irq
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_20
## %bb.7:
	movq	24(%rbx), %rax
	movq	_RAVB_NC@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_ravb_nc_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %r8
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_ravb_hook_irq
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_19
## %bb.8:
	movq	32(%rbx), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_ravb_nc_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %r8
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_ravb_hook_irq
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_18
LBB0_9:
	movq	%r14, %rdi
	callq	_ravb_dmac_init
	movl	%eax, %r15d
	testl	%eax, %eax
	movq	_RCAR_GEN2@GOTPCREL(%rip), %r12
	je	LBB0_10
LBB0_16:
	movq	(%rbx), %rax
	cmpq	(%r12), %rax
	je	LBB0_22
## %bb.17:
	movq	32(%rbx), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	%r14, %rsi
	callq	_free_irq
LBB0_18:
	movq	24(%rbx), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	%r14, %rsi
	callq	_free_irq
LBB0_19:
	movq	32(%rbx), %rax
	movq	_RAVB_BE@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	%r14, %rsi
	callq	_free_irq
LBB0_20:
	movq	24(%rbx), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	%r14, %rsi
	callq	_free_irq
	movq	_RAVB_NC@GOTPCREL(%rip), %r13
LBB0_21:
	movl	16(%rbx), %edi
	movq	%r14, %rsi
	callq	_free_irq
LBB0_22:
	movl	(%r14), %edi
	movq	%r14, %rsi
	callq	_free_irq
LBB0_23:
	movq	(%r13), %rdi
	shlq	$2, %rdi
	addq	8(%rbx), %rdi
	callq	_napi_disable
	movq	_RAVB_BE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	8(%rbx), %rdi
	callq	_napi_disable
LBB0_24:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r14, %rdi
	callq	_ravb_emac_init
	movq	(%rbx), %rax
	cmpq	(%r12), %rax
	jne	LBB0_12
## %bb.11:
	movq	40(%rbx), %rsi
	movq	%r14, %rdi
	callq	_ravb_ptp_init
LBB0_12:
	movq	%r14, %rdi
	callq	_netif_tx_start_all_queues
	movq	%r14, %rdi
	callq	_ravb_phy_start
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	movl	%eax, %r15d
	movq	(%rbx), %rax
	cmpq	(%r12), %rax
	jne	LBB0_16
## %bb.15:
	movq	%r14, %rdi
	callq	_ravb_ptp_stop
	jmp	LBB0_16
LBB0_13:
	xorl	%r15d, %r15d
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_RAVB_BE,8,3                    ## @RAVB_BE
	.comm	_RAVB_NC,8,3                    ## @RAVB_NC
	.comm	_RCAR_GEN2,8,3                  ## @RCAR_GEN2
	.comm	_ravb_interrupt,4,2             ## @ravb_interrupt
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot request IRQ\n"

	.comm	_ravb_multi_interrupt,4,2       ## @ravb_multi_interrupt
L_.str.1:                               ## @.str.1
	.asciz	"ch22:multi"

	.comm	_ravb_emac_interrupt,4,2        ## @ravb_emac_interrupt
L_.str.2:                               ## @.str.2
	.asciz	"ch24:emac"

	.comm	_ravb_be_interrupt,4,2          ## @ravb_be_interrupt
L_.str.3:                               ## @.str.3
	.asciz	"ch0:rx_be"

L_.str.4:                               ## @.str.4
	.asciz	"ch18:tx_be"

	.comm	_ravb_nc_interrupt,4,2          ## @ravb_nc_interrupt
L_.str.5:                               ## @.str.5
	.asciz	"ch1:rx_nc"

L_.str.6:                               ## @.str.6
	.asciz	"ch19:tx_nc"

	.no_dead_strip	_ravb_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ravb_open
_ravb_open:                             ; @ravb_open
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x22, [x0, #40]
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x23, _RAVB_BE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _RAVB_BE@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x0, x8, x9, lsl #2
	bl	_napi_enable
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x24, _RAVB_NC@GOTPAGE
Lloh3:
	ldr	x24, [x24, _RAVB_NC@GOTPAGEOFF]
	ldr	x9, [x24]
	add	x0, x8, x9, lsl #2
	bl	_napi_enable
	ldr	x8, [x19]
Lloh4:
	adrp	x25, _RCAR_GEN2@GOTPAGE
Lloh5:
	ldr	x25, [x25, _RCAR_GEN2@GOTPAGEOFF]
	ldr	x9, [x25]
	ldr	w0, [x20]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _ravb_interrupt@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ravb_interrupt@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	ldr	w3, [x20, #4]
	mov	x4, x20
	bl	_request_irq
	cbz	w0, LBB0_9
; %bb.2:
	mov	x21, x0
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netdev_err
	b	LBB0_17
LBB0_3:
Lloh14:
	adrp	x8, _ravb_multi_interrupt@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ravb_multi_interrupt@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x4, l_.str.1@PAGE
Lloh18:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x2, x20
	mov	x3, x22
	bl	_ravb_hook_irq
	mov	x21, x0
	cbnz	w0, LBB0_17
; %bb.4:
	ldr	w0, [x19, #16]
Lloh19:
	adrp	x8, _ravb_emac_interrupt@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ravb_emac_interrupt@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
Lloh22:
	adrp	x4, l_.str.2@PAGE
Lloh23:
	add	x4, x4, l_.str.2@PAGEOFF
	mov	x2, x20
	mov	x3, x22
	bl	_ravb_hook_irq
	mov	x21, x0
	cbnz	w0, LBB0_16
; %bb.5:
	ldr	x8, [x19, #24]
	ldr	x9, [x23]
	ldr	w0, [x8, x9, lsl #2]
Lloh24:
	adrp	x26, _ravb_be_interrupt@GOTPAGE
Lloh25:
	ldr	x26, [x26, _ravb_be_interrupt@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh26:
	adrp	x4, l_.str.3@PAGE
Lloh27:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	x2, x20
	mov	x3, x22
	bl	_ravb_hook_irq
	mov	x21, x0
	cbnz	w0, LBB0_15
; %bb.6:
	ldr	x8, [x19, #32]
	ldr	x9, [x23]
	ldr	w0, [x8, x9, lsl #2]
	ldr	w1, [x26]
Lloh28:
	adrp	x4, l_.str.4@PAGE
Lloh29:
	add	x4, x4, l_.str.4@PAGEOFF
	mov	x2, x20
	mov	x3, x22
	bl	_ravb_hook_irq
	mov	x21, x0
	cbnz	w0, LBB0_14
; %bb.7:
	ldr	x8, [x19, #24]
	ldr	x9, [x24]
	ldr	w0, [x8, x9, lsl #2]
Lloh30:
	adrp	x26, _ravb_nc_interrupt@GOTPAGE
Lloh31:
	ldr	x26, [x26, _ravb_nc_interrupt@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh32:
	adrp	x4, l_.str.5@PAGE
Lloh33:
	add	x4, x4, l_.str.5@PAGEOFF
	mov	x2, x20
	mov	x3, x22
	bl	_ravb_hook_irq
	mov	x21, x0
	cbnz	w0, LBB0_13
; %bb.8:
	ldr	x8, [x19, #32]
	ldr	x9, [x24]
	ldr	w0, [x8, x9, lsl #2]
	ldr	w1, [x26]
Lloh34:
	adrp	x4, l_.str.6@PAGE
Lloh35:
	add	x4, x4, l_.str.6@PAGEOFF
	mov	x2, x20
	mov	x3, x22
	bl	_ravb_hook_irq
	mov	x21, x0
	cbnz	w0, LBB0_12
LBB0_9:
	mov	x0, x20
	bl	_ravb_dmac_init
	mov	x21, x0
	cbz	w0, LBB0_19
LBB0_10:
	ldr	x8, [x19]
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.11:
	ldr	x8, [x19, #32]
	ldr	x9, [x24]
	ldr	w0, [x8, x9, lsl #2]
	mov	x1, x20
	bl	_free_irq
LBB0_12:
	ldr	x8, [x19, #24]
	ldr	x9, [x24]
	ldr	w0, [x8, x9, lsl #2]
	mov	x1, x20
	bl	_free_irq
LBB0_13:
	ldr	x8, [x19, #32]
	ldr	x9, [x23]
	ldr	w0, [x8, x9, lsl #2]
	mov	x1, x20
	bl	_free_irq
LBB0_14:
	ldr	x8, [x19, #24]
	ldr	x9, [x23]
	ldr	w0, [x8, x9, lsl #2]
	mov	x1, x20
	bl	_free_irq
LBB0_15:
	ldr	w0, [x19, #16]
	mov	x1, x20
	bl	_free_irq
LBB0_16:
	ldr	w0, [x20]
	mov	x1, x20
	bl	_free_irq
LBB0_17:
	ldr	x8, [x19, #8]
	ldr	x9, [x24]
	add	x0, x8, x9, lsl #2
	bl	_napi_disable
	ldr	x8, [x19, #8]
	ldr	x9, [x23]
	add	x0, x8, x9, lsl #2
	bl	_napi_disable
LBB0_18:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_19:
	mov	x0, x20
	bl	_ravb_emac_init
	ldr	x8, [x19]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.20:
	ldr	x1, [x19, #40]
	mov	x0, x20
	bl	_ravb_ptp_init
LBB0_21:
	mov	x0, x20
	bl	_netif_tx_start_all_queues
	mov	x0, x20
	bl	_ravb_phy_start
	mov	x21, x0
	cbz	w0, LBB0_18
; %bb.22:
	ldr	x8, [x19]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.23:
	mov	x0, x20
	bl	_ravb_ptp_stop
	b	LBB0_10
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_RAVB_BE,8,3                    ; @RAVB_BE
	.comm	_RAVB_NC,8,3                    ; @RAVB_NC
	.comm	_RCAR_GEN2,8,3                  ; @RCAR_GEN2
	.comm	_ravb_interrupt,4,2             ; @ravb_interrupt
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot request IRQ\n"

	.comm	_ravb_multi_interrupt,4,2       ; @ravb_multi_interrupt
l_.str.1:                               ; @.str.1
	.asciz	"ch22:multi"

	.comm	_ravb_emac_interrupt,4,2        ; @ravb_emac_interrupt
l_.str.2:                               ; @.str.2
	.asciz	"ch24:emac"

	.comm	_ravb_be_interrupt,4,2          ; @ravb_be_interrupt
l_.str.3:                               ; @.str.3
	.asciz	"ch0:rx_be"

l_.str.4:                               ; @.str.4
	.asciz	"ch18:tx_be"

	.comm	_ravb_nc_interrupt,4,2          ; @ravb_nc_interrupt
l_.str.5:                               ; @.str.5
	.asciz	"ch1:rx_nc"

l_.str.6:                               ; @.str.6
	.asciz	"ch19:tx_nc"

	.no_dead_strip	_ravb_open
.subsections_via_symbols
