	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_engine_get_active_head   ## -- Begin function intel_engine_get_active_head
	.p2align	4, 0x90
_intel_engine_get_active_head:          ## @intel_engine_get_active_head
	.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
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_INTEL_GEN
	cmpl	$8, %eax
	jl	LBB0_1
## %bb.5:
	movq	_RING_ACTHD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RING_ACTHD_UDW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ENGINE_READ64                  ## TAILCALL
LBB0_1:
	movq	%rbx, %rdi
	callq	_INTEL_GEN
	cmpl	$4, %eax
	jl	LBB0_4
## %bb.2:
	movq	_RING_ACTHD@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_ACTHD@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ENGINE_READ                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RING_ACTHD,4,2                 ## @RING_ACTHD
	.comm	_RING_ACTHD_UDW,4,2             ## @RING_ACTHD_UDW
	.comm	_ACTHD,4,2                      ## @ACTHD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_engine_get_active_head   ; -- Begin function intel_engine_get_active_head
	.p2align	2
_intel_engine_get_active_head:          ; @intel_engine_get_active_head
	.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	x20, [x0]
	mov	x0, x20
	bl	_INTEL_GEN
	cmp	w0, #8
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _RING_ACTHD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RING_ACTHD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _RING_ACTHD_UDW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RING_ACTHD_UDW@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ENGINE_READ64
LBB0_2:
	mov	x0, x20
	bl	_INTEL_GEN
	cmp	w0, #4
	b.lt	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _RING_ACTHD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RING_ACTHD@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _ACTHD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ACTHD@GOTPAGEOFF]
LBB0_5:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ENGINE_READ
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_RING_ACTHD,4,2                 ; @RING_ACTHD
	.comm	_RING_ACTHD_UDW,4,2             ; @RING_ACTHD_UDW
	.comm	_ACTHD,4,2                      ; @ACTHD
.subsections_via_symbols
