	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_farch_ev_init              ## -- Begin function ef4_farch_ev_init
	.p2align	4, 0x90
_ef4_farch_ev_init:                     ## @ef4_farch_ev_init
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %r14
	movq	_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	movl	(%rdi), %r8d
	leaq	8(%rdi), %r15
	movq	8(%rdi), %r9
	movq	16(%rdi), %rax
	leaq	-1(%r9,%rax), %rax
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	callq	_netif_dbg
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ef4_init_special_buffer
	movl	24(%rbx), %edx
	movl	28(%rbx), %edi
	movl	$255, %esi
	callq	_memset
	movq	_FRF_AZ_EVQ_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_FRF_AZ_EVQ_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	16(%rbx), %rdi
	callq	___ffs
	movq	_FRF_AZ_EVQ_BUF_BASE_ID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	8(%rbx), %rcx
	movq	%rcx, (%rsp)
	movl	%r15d, %esi
	movl	$1, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	callq	_EF4_POPULATE_OWORD_3
	movq	(%r14), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	leaq	-36(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ef4_writeo_table
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hw,4,2                         ## @hw
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"channel %d event queue in special buffers %d-%d\n"

	.comm	_FRF_AZ_EVQ_EN,4,2              ## @FRF_AZ_EVQ_EN
	.comm	_FRF_AZ_EVQ_SIZE,4,2            ## @FRF_AZ_EVQ_SIZE
	.comm	_FRF_AZ_EVQ_BUF_BASE_ID,4,2     ## @FRF_AZ_EVQ_BUF_BASE_ID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_farch_ev_init              ; -- Begin function ef4_farch_ev_init
	.p2align	2
_ef4_farch_ev_init:                     ; @ef4_farch_ev_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x0
	ldr	x19, [x0, #32]
Lloh0:
	adrp	x8, _hw@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hw@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
	ldr	w4, [x0]
	mov	x21, x0
	ldr	x5, [x21, #8]!
	ldr	x8, [x0, #16]
	add	x8, x5, x8
	sub	x6, x8, #1
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netif_dbg
	mov	x0, x19
	mov	x1, x21
	bl	_ef4_init_special_buffer
	ldp	w2, w0, [x20, #24]
	mov	w1, #255
	bl	_memset
Lloh5:
	adrp	x8, _FRF_AZ_EVQ_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FRF_AZ_EVQ_EN@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
Lloh8:
	adrp	x8, _FRF_AZ_EVQ_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FRF_AZ_EVQ_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
	ldr	x0, [x20, #16]
	bl	___ffs
Lloh11:
	adrp	x8, _FRF_AZ_EVQ_BUF_BASE_ID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FRF_AZ_EVQ_BUF_BASE_ID@GOTPAGEOFF]
Lloh13:
	ldr	w5, [x8]
	ldr	x6, [x21]
	mov	x1, x22
	mov	w2, #1
	mov	x3, x23
	mov	x4, x0
	bl	_EF4_POPULATE_OWORD_3
	ldr	x8, [x19]
	ldr	w2, [x8]
	ldr	w3, [x20]
	add	x1, sp, #12
	mov	x0, x19
	bl	_ef4_writeo_table
	mov	w0, #0
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_hw,4,2                         ; @hw
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"channel %d event queue in special buffers %d-%d\n"

	.comm	_FRF_AZ_EVQ_EN,4,2              ; @FRF_AZ_EVQ_EN
	.comm	_FRF_AZ_EVQ_SIZE,4,2            ; @FRF_AZ_EVQ_SIZE
	.comm	_FRF_AZ_EVQ_BUF_BASE_ID,4,2     ; @FRF_AZ_EVQ_BUF_BASE_ID
.subsections_via_symbols
