	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_pure_responses
_process_pure_responses:                ## @process_pure_responses
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leaq	8(%rsi), %r14
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_ntohl
	movl	%eax, %r12d
	movl	8(%rbx), %eax
	incl	%eax
	movl	%eax, 8(%rbx)
	xorl	%edi, %edi
	cmpl	12(%rbx), %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, 8(%rbx)
	xorb	$1, 16(%rbx)
	movq	32(%rbx), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	addq	$4, %r15
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	callq	_prefetch
	movq	_RSPD_CTRL_MASK@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_RSPD_GTS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r12d, %eax
	orl	%eax, %r13d
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_handle_rsp_cntrl_info
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	24(%rbx)
	movl	12(%rbx), %eax
	movl	20(%rbx), %edx
	incl	%edx
	movl	%edx, 20(%rbx)
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	cmpl	%ecx, %edx
	jl	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_refill_rspq
	movl	$0, 20(%rbx)
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_is_new_response
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_dma_rmb
	movq	%r15, %rdi
	callq	_is_pure_response
	testq	%rax, %rax
	jne	LBB0_1
LBB0_10:
	testl	%r13d, %r13d
	je	LBB0_12
## %bb.11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_check_ring_db
LBB0_12:
	xorl	%eax, %eax
	callq	_smp_mb
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	callq	_restart_tx
LBB0_14:
	movq	%r15, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_is_new_response                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RSPD_CTRL_MASK,4,2             ## @RSPD_CTRL_MASK
	.comm	_RSPD_GTS_MASK,4,2              ## @RSPD_GTS_MASK
	.no_dead_strip	_process_pure_responses
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_pure_responses
_process_pure_responses:                ; @process_pure_responses
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	mov	x21, x2
	mov	x20, x1
	mov	x23, x0
	mov	w22, #0
	add	x19, x1, #8
Lloh0:
	adrp	x25, _RSPD_CTRL_MASK@GOTPAGE
Lloh1:
	ldr	x25, [x25, _RSPD_CTRL_MASK@GOTPAGEOFF]
	movi.2s	v8, #1
Lloh2:
	adrp	x26, _RSPD_GTS_MASK@GOTPAGE
Lloh3:
	ldr	x26, [x26, _RSPD_GTS_MASK@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21], #4
	bl	_ntohl
	mov	x24, x0
	ldp	w8, w9, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	cmp	w8, w9
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	str	wzr, [x20, #8]
	ldr	w8, [x20, #16]
	eor	w8, w8, #0x1
	str	w8, [x20, #16]
	ldr	x21, [x20, #32]
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	bl	_prefetch
	ldr	w8, [x25]
	tst	w8, w24
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x26]
	and	w8, w8, w24
	orr	w22, w8, w22
	mov	x0, x20
	mov	x1, x24
	bl	_handle_rsp_cntrl_info
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldur	d0, [x20, #20]
	add.2s	v0, v0, v8
	stur	d0, [x20, #20]
	ldr	w8, [x20, #12]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	fmov	w2, s0
	cmp	w2, w8, asr #2
	b.lt	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x23
	mov	x1, x19
	bl	_refill_rspq
	str	wzr, [x20, #20]
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	mov	x1, x19
	bl	_is_new_response
	cbz	w0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_dma_rmb
	mov	x0, x21
	bl	_is_pure_response
	cbnz	x0, LBB0_1
LBB0_9:
	cbz	w22, LBB0_11
; %bb.10:
	mov	x0, x23
	mov	x1, x20
	mov	x2, x22
	bl	_check_ring_db
LBB0_11:
	bl	_smp_mb
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, x20
	bl	_restart_tx
LBB0_13:
	mov	x0, x21
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	b	_is_new_response
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RSPD_CTRL_MASK,4,2             ; @RSPD_CTRL_MASK
	.comm	_RSPD_GTS_MASK,4,2              ; @RSPD_GTS_MASK
	.no_dead_strip	_process_pure_responses
.subsections_via_symbols
