	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_xhci_trb_next              ## -- Begin function pci_xhci_trb_next
	.p2align	4, 0x90
_pci_xhci_trb_next:                     ## @pci_xhci_trb_next
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%rsi, %rsi
	setne	%dil
	callq	_assert
	movl	4(%rbx), %edi
	callq	_XHCI_TRB_3_TYPE_GET
	movq	_XHCI_TRB_TYPE_LINK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	movl	(%rbx), %eax
	andl	$-16, %eax
	movl	%eax, (%r15)
LBB0_3:
	movl	(%rbx), %esi
	andl	$-16, %esi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_XHCI_GADDR                     ## TAILCALL
LBB0_4:
	addq	$8, %rbx
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XHCI_TRB_TYPE_LINK,8,3         ## @XHCI_TRB_TYPE_LINK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_xhci_trb_next              ; -- Begin function pci_xhci_trb_next
	.p2align	2
_pci_xhci_trb_next:                     ; @pci_xhci_trb_next
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	cmp	x1, #0
	cset	w0, ne
	bl	_assert
	ldr	w0, [x19, #4]
	bl	_XHCI_TRB_3_TYPE_GET
Lloh0:
	adrp	x8, _XHCI_TRB_TYPE_LINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XHCI_TRB_TYPE_LINK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	cbz	x21, LBB0_3
; %bb.2:
	ldr	w8, [x19]
	and	w8, w8, #0xfffffff0
	str	w8, [x21]
LBB0_3:
	ldr	w8, [x19]
	and	w1, w8, #0xfffffff0
	mov	x0, x20
	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
	b	_XHCI_GADDR
LBB0_4:
	add	x0, x19, #8
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XHCI_TRB_TYPE_LINK,8,3         ; @XHCI_TRB_TYPE_LINK
.subsections_via_symbols
