	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_input_block
_free_input_block:                      ## @free_input_block
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.2:
	movq	%rdi, %r14
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.3:
	movl	(%r14), %edi
	callq	_dma_mapping_error
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	(%r14), %edi
	movq	24(%rbx), %rsi
	movq	_FEI_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_single
LBB0_5:
	movl	16(%rbx), %edi
	callq	_kfree
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.6:
	movl	(%r14), %edi
	callq	_dma_mapping_error
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movl	(%r14), %edi
	movq	8(%rbx), %rsi
	movq	_PID_TABLE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_single
LBB0_8:
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FEI_BUFFER_SIZE,4,2            ## @FEI_BUFFER_SIZE
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.comm	_PID_TABLE_SIZE,4,2             ## @PID_TABLE_SIZE
	.no_dead_strip	_free_input_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_input_block
_free_input_block:                      ; @free_input_block
	.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
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_9
; %bb.2:
	mov	x20, x0
	ldr	x1, [x19, #24]
	cbz	x1, LBB0_5
; %bb.3:
	ldr	w0, [x20]
	bl	_dma_mapping_error
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w0, [x20]
	ldr	x1, [x19, #24]
Lloh0:
	adrp	x8, _FEI_BUFFER_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FEI_BUFFER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	bl	_dma_unmap_single
LBB0_5:
	ldr	w0, [x19, #16]
	bl	_kfree
	ldr	x1, [x19, #8]
	cbz	x1, LBB0_8
; %bb.6:
	ldr	w0, [x20]
	bl	_dma_mapping_error
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	w0, [x20]
	ldr	x1, [x19, #8]
Lloh6:
	adrp	x8, _PID_TABLE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PID_TABLE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	bl	_dma_unmap_single
LBB0_8:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FEI_BUFFER_SIZE,4,2            ; @FEI_BUFFER_SIZE
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.comm	_PID_TABLE_SIZE,4,2             ; @PID_TABLE_SIZE
	.no_dead_strip	_free_input_block
.subsections_via_symbols
