	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iser_initialize_task_headers   ## -- Begin function iser_initialize_task_headers
	.p2align	4, 0x90
_iser_initialize_task_headers:          ## @iser_initialize_task_headers
	.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	%rsi, %r15
	movq	8(%rdi), %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %r12
	movq	16(%r12), %r13
	xorl	%r14d, %r14d
	cmpl	$0, (%rdi)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_in_interrupt
	xorl	%r14d, %r14d
	testl	%eax, %eax
	sete	%r14b
LBB0_2:
	movl	%r14d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	8(%r12), %rdi
	callq	_mutex_lock
LBB0_4:
	movq	(%r12), %rax
	movq	_ISER_CONN_UP@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	8(%r13), %edi
	movq	_ISER_HEADERS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rsi
	callq	_ib_dma_map_single
	movl	%eax, %ebx
	movl	8(%r13), %edi
	movl	%eax, %esi
	callq	_ib_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_10:
	movl	%r14d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	addq	$8, %r12
	movq	%r12, %rdi
	callq	_mutex_unlock
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r15)
	movl	$1, (%r15)
	movl	%ebx, 16(%r15)
	movq	8(%r15), %rax
	movl	%ebx, 8(%rax)
	movq	_ISER_HEADERS_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	(%r13), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_ISER_CONN_UP,8,3               ## @ISER_CONN_UP
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ISER_HEADERS_LEN,4,2           ## @ISER_HEADERS_LEN
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iser_initialize_task_headers   ; -- Begin function iser_initialize_task_headers
	.p2align	2
_iser_initialize_task_headers:          ; @iser_initialize_task_headers
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	ldp	x24, x8, [x0, #8]
	ldr	x23, [x8]
	ldr	x25, [x23, #16]
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w19, #0
	b	LBB0_3
LBB0_2:
	bl	_in_interrupt
	cmp	w0, #0
	cset	w19, eq
LBB0_3:
	mov	x0, x19
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:
	add	x0, x23, #8
	bl	_mutex_lock
LBB0_5:
	ldr	x8, [x23]
Lloh0:
	adrp	x9, _ISER_CONN_UP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISER_CONN_UP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.6:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	ldr	w0, [x25, #8]
Lloh5:
	adrp	x26, _ISER_HEADERS_LEN@GOTPAGE
Lloh6:
	ldr	x26, [x26, _ISER_HEADERS_LEN@GOTPAGEOFF]
	ldr	w2, [x26]
Lloh7:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x1, x20
	bl	_ib_dma_map_single
	mov	x22, x0
	ldr	w0, [x25, #8]
	mov	x1, x22
	bl	_ib_dma_mapping_error
	cbz	x0, LBB0_13
; %bb.8:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_10:
	mov	x0, x19
	bl	_unlikely
	cbz	x0, LBB0_12
; %bb.11:
	add	x0, x23, #8
	bl	_mutex_unlock
LBB0_12:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	w21, #0
	stp	xzr, xzr, [x20, #24]
	mov	w8, #1
	str	w8, [x20]
	str	w22, [x20, #16]
	ldr	x8, [x20, #8]
	str	w22, [x8, #8]
	ldr	w9, [x26]
	ldr	x10, [x25]
	ldr	w10, [x10]
	stp	w10, w9, [x8]
	str	x23, [x24]
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ISER_CONN_UP,8,3               ; @ISER_CONN_UP
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ISER_HEADERS_LEN,4,2           ; @ISER_HEADERS_LEN
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
