	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipu_cpmem_set_high_priority    ## -- Begin function ipu_cpmem_set_high_priority
	.p2align	4, 0x90
_ipu_cpmem_set_high_priority:           ## @ipu_cpmem_set_high_priority
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %r14
	movq	(%r14), %rax
	movq	_IPUV3EX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_IPU_FIELD_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_ipu_ch_param_write_field
LBB0_2:
	movl	(%r15), %edi
	callq	_IDMAC_CHA_PRI
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ipu_idmac_read
	movl	%eax, %ebx
	movl	(%r15), %edi
	btsl	%edi, %ebx
	callq	_IDMAC_CHA_PRI
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipu_idmac_write                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPUV3EX,8,3                    ## @IPUV3EX
	.comm	_IPU_FIELD_ID,4,2               ## @IPU_FIELD_ID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipu_cpmem_set_high_priority    ; -- Begin function ipu_cpmem_set_high_priority
	.p2align	2
_ipu_cpmem_set_high_priority:           ; @ipu_cpmem_set_high_priority
	.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	x20, x0
	ldr	x19, [x0, #8]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _IPUV3EX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPUV3EX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _IPU_FIELD_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPU_FIELD_ID@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #1
	bl	_ipu_ch_param_write_field
LBB0_2:
	ldr	w0, [x20]
	bl	_IDMAC_CHA_PRI
	mov	x1, x0
	mov	x0, x19
	bl	_ipu_idmac_read
	ldr	w8, [x20]
	mov	w9, #1
	lsl	w9, w9, w8
	orr	w20, w9, w0
	mov	x0, x8
	bl	_IDMAC_CHA_PRI
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ipu_idmac_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IPUV3EX,8,3                    ; @IPUV3EX
	.comm	_IPU_FIELD_ID,4,2               ; @IPU_FIELD_ID
.subsections_via_symbols
