	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_init_notification_wait     ## -- Begin function iwl_init_notification_wait
	.p2align	4, 0x90
_iwl_init_notification_wait:            ## @iwl_init_notification_wait
	.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	%r9, %r13
	movq	%r8, %r12
	movl	%ecx, %r15d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_MAX_NOTIF_CMDS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%ecx, (%rax)
	setl	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_MAX_NOTIF_CMDS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_2:
	movq	%r12, (%rbx)
	movq	%r13, 32(%rbx)
	movl	%r15d, 8(%rbx)
	movl	24(%rbx), %edi
	shll	$2, %r15d
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_memcpy
	movq	$0, 12(%rbx)
	movq	%r14, %rdi
	callq	_spin_lock_bh
	addq	$20, %rbx
	leaq	4(%r14), %rsi
	movq	%rbx, %rdi
	callq	_list_add
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_bh                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NOTIF_CMDS,4,2             ## @MAX_NOTIF_CMDS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_init_notification_wait     ; -- Begin function iwl_init_notification_wait
	.p2align	2
_iwl_init_notification_wait:            ; @iwl_init_notification_wait
	.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	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x25, _MAX_NOTIF_CMDS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _MAX_NOTIF_CMDS@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, w3
	cset	w0, lt
	bl	_WARN_ON
	ldr	w8, [x25]
	cmp	x0, #0
	csel	w8, w21, w8, eq
	str	x20, [x23]
	str	x19, [x23, #32]
	str	w8, [x23, #8]
	ldr	w0, [x23, #24]
	lsl	w2, w8, #2
	mov	x1, x22
	bl	_memcpy
	stp	wzr, wzr, [x23, #12]
	mov	x0, x24
	bl	_spin_lock_bh
	add	x0, x23, #20
	add	x1, x24, #4
	bl	_list_add
	mov	x0, x24
	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
	b	_spin_unlock_bh
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NOTIF_CMDS,4,2             ; @MAX_NOTIF_CMDS
.subsections_via_symbols
