	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function measure_breadcrumb_dw
_measure_breadcrumb_dw:                 ## @measure_breadcrumb_dw
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_ENOMEM@GOTPCREL(%rip), %r12
	movl	(%r12), %r14d
	movq	16(%rdi), %rax
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	callq	_GEM_BUG_ON
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	4(%rax), %r12
	movq	16(%r15), %rsi
	movl	12(%r15), %edx
	movq	%r12, %rdi
	callq	_intel_timeline_init
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	negl	%r14d
	jmp	LBB0_8
LBB0_1:
	xorl	%r14d, %r14d
	subl	(%r12), %r14d
	jmp	LBB0_9
LBB0_4:
	movl	(%rbx), %eax
	leaq	40(%rbx), %r14
	movl	%eax, 40(%rbx)
	movabsq	$17179869188, %rax              ## imm = 0x400000004
	movq	%rax, 44(%rbx)
	movq	%r14, %rdi
	callq	_intel_ring_update_space
	movl	8(%r15), %eax
	movl	%eax, 32(%rbx)
	movq	%r15, 24(%rbx)
	movq	%r14, 16(%rbx)
	movq	%r12, 8(%rbx)
	movq	%r12, %rdi
	callq	_intel_timeline_pin
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	addq	$8, %rdi
	movl	(%rbx), %esi
	callq	*(%r15)
	movl	%eax, %r14d
	subl	(%rbx), %r14d
	movl	%r14d, %edi
	andl	$1, %edi
	callq	_GEM_BUG_ON
	movq	%r12, %rdi
	callq	_intel_timeline_unpin
	jmp	LBB0_7
LBB0_5:
	movl	%eax, %r14d
LBB0_7:
	movq	%r12, %rdi
	callq	_intel_timeline_fini
LBB0_8:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_measure_breadcrumb_dw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function measure_breadcrumb_dw
_measure_breadcrumb_dw:                 ; @measure_breadcrumb_dw
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x0
Lloh0:
	adrp	x20, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ENOMEM@GOTPAGEOFF]
	ldr	w22, [x20]
	ldr	x8, [x0, #16]
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_GEM_BUG_ON
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x20, x0, #4
	ldr	x1, [x21, #16]
	ldr	w2, [x21, #12]
	mov	x0, x20
	bl	_intel_timeline_init
	cbz	x0, LBB0_4
; %bb.2:
	neg	w22, w22
	b	LBB0_8
LBB0_3:
	ldr	w8, [x20]
	neg	w22, w8
	b	LBB0_9
LBB0_4:
	ldr	w8, [x19]
	mov	x22, x19
	str	w8, [x22, #40]!
	movi.2s	v0, #4
	stur	d0, [x19, #44]
	mov	x0, x22
	bl	_intel_ring_update_space
	ldr	w8, [x21, #8]
	mov	x23, x19
	str	x20, [x23, #8]!
	str	w8, [x23, #24]
	stp	x22, x21, [x23, #8]
	mov	x0, x20
	bl	_intel_timeline_pin
	tbnz	w0, #31, LBB0_6
; %bb.5:
	ldr	x8, [x21]
	ldr	w1, [x19]
	mov	x0, x23
	blr	x8
	ldr	w8, [x19]
	sub	w22, w0, w8
	and	w0, w22, #0x1
	bl	_GEM_BUG_ON
	mov	x0, x20
	bl	_intel_timeline_unpin
	b	LBB0_7
LBB0_6:
	mov	x22, x0
LBB0_7:
	mov	x0, x20
	bl	_intel_timeline_fini
LBB0_8:
	mov	x0, x19
	bl	_kfree
LBB0_9:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_measure_breadcrumb_dw
.subsections_via_symbols
