	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ef4_probe_eventq
_ef4_probe_eventq:                      ## @ef4_probe_eventq
	.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	16(%rdi), %rbx
	movq	_probe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %edx
	movl	8(%rdi), %r8d
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	callq	_netif_dbg
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	leaq	(%rcx,%rax), %rdi
	addq	$128, %rdi
	callq	_roundup_pow_of_two
	movq	%rax, %rbx
	movq	_EF4_MAX_EVQ_SIZE@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rbx
	seta	%dil
	callq	_EF4_BUG_ON_PARANOID
	movq	_EF4_MIN_EVQ_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_max
	decq	%rax
	movq	%rax, (%r14)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ef4_nic_probe_eventq           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_probe,4,2                      ## @probe
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"chan %d create event queue\n"

	.comm	_EF4_MAX_EVQ_SIZE,8,3           ## @EF4_MAX_EVQ_SIZE
	.comm	_EF4_MIN_EVQ_SIZE,4,2           ## @EF4_MIN_EVQ_SIZE
	.no_dead_strip	_ef4_probe_eventq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ef4_probe_eventq
_ef4_probe_eventq:                      ; @ef4_probe_eventq
	.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
	ldr	x20, [x0, #16]
Lloh0:
	adrp	x8, _probe@GOTPAGE
Lloh1:
	ldr	x8, [x8, _probe@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	ldr	w4, [x0, #8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_netif_dbg
	ldp	x9, x8, [x20]
	add	x8, x8, x9
	add	x0, x8, #128
	bl	_roundup_pow_of_two
	mov	x20, x0
Lloh5:
	adrp	x8, _EF4_MAX_EVQ_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EF4_MAX_EVQ_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, hi
	bl	_EF4_BUG_ON_PARANOID
Lloh8:
	adrp	x8, _EF4_MIN_EVQ_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EF4_MIN_EVQ_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_max
	sub	x8, x0, #1
	str	x8, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ef4_nic_probe_eventq
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_probe,4,2                      ; @probe
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"chan %d create event queue\n"

	.comm	_EF4_MAX_EVQ_SIZE,8,3           ; @EF4_MAX_EVQ_SIZE
	.comm	_EF4_MIN_EVQ_SIZE,4,2           ; @EF4_MIN_EVQ_SIZE
	.no_dead_strip	_ef4_probe_eventq
.subsections_via_symbols
