	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at91_setup_mailboxes
_at91_setup_mailboxes:                  ## @at91_setup_mailboxes
	.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
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_AT91_MB_RX_FIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_AT91_MB_RX_LAST@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	cmpl	%esi, %ebx
	jae	LBB0_3
## %bb.1:
	movq	_AT91_MB_MODE_RX@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_set_mb_mode
	incl	%ebx
	movl	(%r15), %esi
	cmpl	%esi, %ebx
	jb	LBB0_2
LBB0_3:
	movq	_AT91_MB_MODE_RX_OVRWR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_set_mb_mode
	movq	_AT91_MB_TX_FIRST@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_AT91_MB_TX_LAST@GOTPCREL(%rip), %r15
	cmpl	(%r15), %ebx
	ja	LBB0_6
## %bb.4:
	movq	_AT91_MB_MODE_TX@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_set_mb_mode_prio
	incl	%ebx
	cmpl	(%r15), %ebx
	jbe	LBB0_5
LBB0_6:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	movq	$0, 16(%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT91_MB_RX_FIRST,4,2           ## @AT91_MB_RX_FIRST
	.comm	_AT91_MB_RX_LAST,4,2            ## @AT91_MB_RX_LAST
	.comm	_AT91_MB_MODE_RX,4,2            ## @AT91_MB_MODE_RX
	.comm	_AT91_MB_MODE_RX_OVRWR,4,2      ## @AT91_MB_MODE_RX_OVRWR
	.comm	_AT91_MB_TX_FIRST,4,2           ## @AT91_MB_TX_FIRST
	.comm	_AT91_MB_TX_LAST,4,2            ## @AT91_MB_TX_LAST
	.comm	_AT91_MB_MODE_TX,4,2            ## @AT91_MB_MODE_TX
	.no_dead_strip	_at91_setup_mailboxes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at91_setup_mailboxes
_at91_setup_mailboxes:                  ; @at91_setup_mailboxes
	.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
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _AT91_MB_RX_FIRST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AT91_MB_RX_FIRST@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x21, _AT91_MB_RX_LAST@GOTPAGE
Lloh4:
	ldr	x21, [x21, _AT91_MB_RX_LAST@GOTPAGEOFF]
	ldr	w1, [x21]
	cmp	w20, w1
	b.hs	LBB0_3
; %bb.1:
Lloh5:
	adrp	x22, _AT91_MB_MODE_RX@GOTPAGE
Lloh6:
	ldr	x22, [x22, _AT91_MB_MODE_RX@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_set_mb_mode
	add	w20, w20, #1
	ldr	w1, [x21]
	cmp	w20, w1
	b.lo	LBB0_2
LBB0_3:
Lloh7:
	adrp	x8, _AT91_MB_MODE_RX_OVRWR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AT91_MB_MODE_RX_OVRWR@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_set_mb_mode
Lloh10:
	adrp	x8, _AT91_MB_TX_FIRST@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AT91_MB_TX_FIRST@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
Lloh13:
	adrp	x21, _AT91_MB_TX_LAST@GOTPAGE
Lloh14:
	ldr	x21, [x21, _AT91_MB_TX_LAST@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w20, w8
	b.hi	LBB0_6
; %bb.4:
Lloh15:
	adrp	x22, _AT91_MB_MODE_TX@GOTPAGE
Lloh16:
	ldr	x22, [x22, _AT91_MB_MODE_TX@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	bl	_set_mb_mode_prio
	add	w20, w20, #1
	ldr	w8, [x21]
	cmp	w20, w8
	b.ls	LBB0_5
LBB0_6:
	stp	xzr, xzr, [x19]
	str	xzr, [x19, #16]
	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
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_AT91_MB_RX_FIRST,4,2           ; @AT91_MB_RX_FIRST
	.comm	_AT91_MB_RX_LAST,4,2            ; @AT91_MB_RX_LAST
	.comm	_AT91_MB_MODE_RX,4,2            ; @AT91_MB_MODE_RX
	.comm	_AT91_MB_MODE_RX_OVRWR,4,2      ; @AT91_MB_MODE_RX_OVRWR
	.comm	_AT91_MB_TX_FIRST,4,2           ; @AT91_MB_TX_FIRST
	.comm	_AT91_MB_TX_LAST,4,2            ; @AT91_MB_TX_LAST
	.comm	_AT91_MB_MODE_TX,4,2            ; @AT91_MB_MODE_TX
	.no_dead_strip	_at91_setup_mailboxes
.subsections_via_symbols
