	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_nop_1
_i40iw_nop_1:                           ## @i40iw_nop_1
	.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
	cmpl	$0, 16(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	callq	_I40IW_RING_GETCURRENT_HEAD
	movq	8(%rbx), %rcx
	movq	24(%rbx), %rdx
	movq	(%rcx,%rax,8), %r14
	movq	_I40IW_QP_WQE_MIN_SIZE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, (%rdx,%rax,4)
	movl	(%rbx), %esi
	movl	16(%rbx), %eax
	incl	%eax
	cltd
	idivl	20(%rbx)
	movslq	%edx, %rax
	movq	(%rcx,%rax,8), %r15
	xorl	%edi, %edi
	testl	%esi, %esi
	sete	%dil
	testl	%eax, %eax
	cmovel	%esi, %edi
	movq	_I40IWQPSQ_VALID@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_LS_64
	movl	%eax, 12(%r15)
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_set_64bit_val
	movq	%r14, %rdi
	movl	$8, %esi
	xorl	%edx, %edx
	callq	_set_64bit_val
	movq	%r14, %rdi
	movl	$16, %esi
	xorl	%edx, %edx
	callq	_set_64bit_val
	movq	_I40IWQP_OP_NOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_I40IWQPSQ_OPCODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LS_64
	movl	%eax, %r12d
	movq	_I40IWQPSQ_SIGCOMPL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_LS_64
	orl	%eax, %r12d
	movl	(%rbx), %edi
	movl	(%r13), %esi
	callq	_LS_64
	movq	_nop_signature@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	leal	1(%rbx), %edx
	movl	%edx, (%rcx)
	orl	%eax, %ebx
	orl	%r12d, %ebx
	xorl	%eax, %eax
	callq	_wmb
	movq	%r14, %rdi
	movl	$24, %esi
	movl	%ebx, %edx
	callq	_set_64bit_val
	jmp	LBB0_3
LBB0_1:
	movq	_I40IW_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40IW_ERR_PARAM,4,2            ## @I40IW_ERR_PARAM
	.comm	_I40IW_QP_WQE_MIN_SIZE,4,2      ## @I40IW_QP_WQE_MIN_SIZE
	.comm	_I40IWQPSQ_VALID,4,2            ## @I40IWQPSQ_VALID
	.comm	_I40IWQP_OP_NOP,4,2             ## @I40IWQP_OP_NOP
	.comm	_I40IWQPSQ_OPCODE,4,2           ## @I40IWQPSQ_OPCODE
	.comm	_I40IWQPSQ_SIGCOMPL,4,2         ## @I40IWQPSQ_SIGCOMPL
	.comm	_nop_signature,4,2              ## @nop_signature
	.no_dead_strip	_i40iw_nop_1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_nop_1
_i40iw_nop_1:                           ; @i40iw_nop_1
	.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
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	x0, [x0, #16]
	bl	_I40IW_RING_GETCURRENT_HEAD
	ldr	x8, [x20, #8]
	ldr	x19, [x8, x0, lsl #3]
Lloh0:
	adrp	x9, _I40IW_QP_WQE_MIN_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40IW_QP_WQE_MIN_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldr	x10, [x20, #24]
	str	w9, [x10, x0, lsl #2]
	ldp	w9, w10, [x20, #16]
	add	w9, w9, #1
	sdiv	w11, w9, w10
	msub	w9, w11, w10, w9
	ldr	x21, [x8, w9, sxtw #3]
	ldr	w8, [x20]
	cmp	w8, #0
	cset	w10, eq
	cmp	w9, #0
	csel	w0, w8, w10, eq
Lloh3:
	adrp	x22, _I40IWQPSQ_VALID@GOTPAGE
Lloh4:
	ldr	x22, [x22, _I40IWQPSQ_VALID@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_LS_64
	str	w0, [x21, #12]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_set_64bit_val
	mov	x0, x19
	mov	w1, #8
	mov	w2, #0
	bl	_set_64bit_val
	mov	x0, x19
	mov	w1, #16
	mov	w2, #0
	bl	_set_64bit_val
Lloh5:
	adrp	x8, _I40IWQP_OP_NOP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I40IWQP_OP_NOP@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _I40IWQPSQ_OPCODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _I40IWQPSQ_OPCODE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_LS_64
	mov	x21, x0
Lloh11:
	adrp	x8, _I40IWQPSQ_SIGCOMPL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I40IWQPSQ_SIGCOMPL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_LS_64
	orr	w21, w0, w21
	ldr	w0, [x20]
	ldr	w1, [x22]
	bl	_LS_64
	orr	w8, w21, w0
Lloh14:
	adrp	x9, _nop_signature@GOTPAGE
Lloh15:
	ldr	x9, [x9, _nop_signature@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w11, w10, #1
	str	w11, [x9]
	orr	w20, w8, w10
	bl	_wmb
	mov	x0, x19
	mov	w1, #24
	mov	x2, x20
	bl	_set_64bit_val
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh16:
	adrp	x8, _I40IW_ERR_PARAM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _I40IW_ERR_PARAM@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
LBB0_3:
	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	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_I40IW_ERR_PARAM,4,2            ; @I40IW_ERR_PARAM
	.comm	_I40IW_QP_WQE_MIN_SIZE,4,2      ; @I40IW_QP_WQE_MIN_SIZE
	.comm	_I40IWQPSQ_VALID,4,2            ; @I40IWQPSQ_VALID
	.comm	_I40IWQP_OP_NOP,4,2             ; @I40IWQP_OP_NOP
	.comm	_I40IWQPSQ_OPCODE,4,2           ; @I40IWQPSQ_OPCODE
	.comm	_I40IWQPSQ_SIGCOMPL,4,2         ; @I40IWQPSQ_SIGCOMPL
	.comm	_nop_signature,4,2              ; @nop_signature
	.no_dead_strip	_i40iw_nop_1
.subsections_via_symbols
