	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function queue_complete_cb
_queue_complete_cb:                     ## @queue_complete_cb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %rdi
	movq	(%rdi), %rax
	movl	4(%rax), %eax
	shrl	$12, %eax
	andl	$15, %eax
	movl	8(%rdi), %ecx
	leal	-129(%rcx), %edx
	cmpl	$2, %edx
	jb	LBB0_16
## %bb.1:
	cmpl	$128, %ecx
	je	LBB0_4
## %bb.2:
	cmpl	$131, %ecx
	jne	LBB0_5
## %bb.3:
	movq	_RAW1394_ERROR_ABORTED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	jmp	LBB0_6
LBB0_16:
	movq	_RAW1394_ERROR_SEND_ERROR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	jmp	LBB0_6
LBB0_4:
	movq	_RAW1394_ERROR_TIMEOUT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	jmp	LBB0_6
LBB0_5:
	movl	%ecx, %edx
	shll	$16, %edx
	orl	%eax, %edx
LBB0_6:
	movl	%edx, (%rbx)
	movq	_ACK_PENDING@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_8
## %bb.7:
	movq	_RCODE_COMPLETE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_9
LBB0_8:
	movq	$0, 16(%rbx)
LBB0_9:
	movq	8(%rbx), %rax
	movq	_RAW1394_REQ_ASYNC_READ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.10:
	movq	_RAW1394_REQ_ASYNC_WRITE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.11:
	movq	_RAW1394_REQ_ASYNC_STREAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.12:
	movq	_RAW1394_REQ_LOCK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.13:
	movq	_RAW1394_REQ_LOCK64@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
LBB0_14:
	callq	_hpsb_free_tlabel
LBB0_15:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_queue_complete_req             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RAW1394_ERROR_SEND_ERROR,4,2   ## @RAW1394_ERROR_SEND_ERROR
	.comm	_RAW1394_ERROR_ABORTED,4,2      ## @RAW1394_ERROR_ABORTED
	.comm	_RAW1394_ERROR_TIMEOUT,4,2      ## @RAW1394_ERROR_TIMEOUT
	.comm	_ACK_PENDING,4,2                ## @ACK_PENDING
	.comm	_RCODE_COMPLETE,4,2             ## @RCODE_COMPLETE
	.comm	_RAW1394_REQ_ASYNC_READ,8,3     ## @RAW1394_REQ_ASYNC_READ
	.comm	_RAW1394_REQ_ASYNC_WRITE,8,3    ## @RAW1394_REQ_ASYNC_WRITE
	.comm	_RAW1394_REQ_ASYNC_STREAM,8,3   ## @RAW1394_REQ_ASYNC_STREAM
	.comm	_RAW1394_REQ_LOCK,8,3           ## @RAW1394_REQ_LOCK
	.comm	_RAW1394_REQ_LOCK64,8,3         ## @RAW1394_REQ_LOCK64
	.no_dead_strip	_queue_complete_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function queue_complete_cb
_queue_complete_cb:                     ; @queue_complete_cb
	.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	x0, [x0, #24]
	ldr	x8, [x0]
	ldr	w8, [x8, #4]
	ubfx	w8, w8, #12, #4
	ldr	w9, [x0, #8]
	sub	w10, w9, #129
	cmp	w10, #2
	b.lo	LBB0_4
; %bb.1:
	cmp	w9, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w9, #131
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x10, _RAW1394_ERROR_ABORTED@GOTPAGE
Lloh1:
	ldr	x10, [x10, _RAW1394_ERROR_ABORTED@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	b	LBB0_7
LBB0_4:
Lloh3:
	adrp	x10, _RAW1394_ERROR_SEND_ERROR@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RAW1394_ERROR_SEND_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x10, _RAW1394_ERROR_TIMEOUT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RAW1394_ERROR_TIMEOUT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	b	LBB0_7
LBB0_6:
	mov	x10, x8
	bfi	w10, w9, #16, #16
LBB0_7:
	str	w10, [x19]
Lloh9:
	adrp	x10, _ACK_PENDING@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ACK_PENDING@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _RCODE_COMPLETE@GOTPAGE
Lloh13:
	ldr	x11, [x11, _RCODE_COMPLETE@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	cmp	w9, w10
	ccmp	w8, w11, #0, eq
	b.eq	LBB0_9
; %bb.8:
	str	xzr, [x19, #16]
LBB0_9:
	ldr	x8, [x19, #8]
Lloh15:
	adrp	x9, _RAW1394_REQ_ASYNC_READ@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RAW1394_REQ_ASYNC_READ@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.10:
Lloh18:
	adrp	x9, _RAW1394_REQ_ASYNC_WRITE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _RAW1394_REQ_ASYNC_WRITE@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.11:
Lloh21:
	adrp	x9, _RAW1394_REQ_ASYNC_STREAM@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RAW1394_REQ_ASYNC_STREAM@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.12:
Lloh24:
	adrp	x9, _RAW1394_REQ_LOCK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _RAW1394_REQ_LOCK@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.13:
Lloh27:
	adrp	x9, _RAW1394_REQ_LOCK64@GOTPAGE
Lloh28:
	ldr	x9, [x9, _RAW1394_REQ_LOCK64@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
LBB0_14:
	bl	_hpsb_free_tlabel
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_queue_complete_req
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_RAW1394_ERROR_SEND_ERROR,4,2   ; @RAW1394_ERROR_SEND_ERROR
	.comm	_RAW1394_ERROR_ABORTED,4,2      ; @RAW1394_ERROR_ABORTED
	.comm	_RAW1394_ERROR_TIMEOUT,4,2      ; @RAW1394_ERROR_TIMEOUT
	.comm	_ACK_PENDING,4,2                ; @ACK_PENDING
	.comm	_RCODE_COMPLETE,4,2             ; @RCODE_COMPLETE
	.comm	_RAW1394_REQ_ASYNC_READ,8,3     ; @RAW1394_REQ_ASYNC_READ
	.comm	_RAW1394_REQ_ASYNC_WRITE,8,3    ; @RAW1394_REQ_ASYNC_WRITE
	.comm	_RAW1394_REQ_ASYNC_STREAM,8,3   ; @RAW1394_REQ_ASYNC_STREAM
	.comm	_RAW1394_REQ_LOCK,8,3           ; @RAW1394_REQ_LOCK
	.comm	_RAW1394_REQ_LOCK64,8,3         ; @RAW1394_REQ_LOCK64
	.no_dead_strip	_queue_complete_cb
.subsections_via_symbols
