	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ocxl_config_set_afu_actag      ## -- Begin function ocxl_config_set_afu_actag
	.p2align	4, 0x90
_ocxl_config_set_afu_actag:             ## @ocxl_config_set_afu_actag
	.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
	movl	%edx, %r15d
	movq	%rdi, %r14
	movq	_OCXL_DVSEC_ACTAG_MASK@GOTPCREL(%rip), %r12
	andl	(%r12), %ecx
	movslq	%esi, %rbx
	movq	_OCXL_DVSEC_AFU_CTRL_ACTAG_EN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movl	%ecx, %edx
	callq	_pci_write_config_byte
	andl	(%r12), %r15d
	movq	_OCXL_DVSEC_AFU_CTRL_ACTAG_BASE@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pci_write_config_dword         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OCXL_DVSEC_ACTAG_MASK,4,2      ## @OCXL_DVSEC_ACTAG_MASK
	.comm	_OCXL_DVSEC_AFU_CTRL_ACTAG_EN,8,3 ## @OCXL_DVSEC_AFU_CTRL_ACTAG_EN
	.comm	_OCXL_DVSEC_AFU_CTRL_ACTAG_BASE,8,3 ## @OCXL_DVSEC_AFU_CTRL_ACTAG_BASE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ocxl_config_set_afu_actag      ; -- Begin function ocxl_config_set_afu_actag
	.p2align	2
_ocxl_config_set_afu_actag:             ; @ocxl_config_set_afu_actag
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x20, x0
Lloh0:
	adrp	x21, _OCXL_DVSEC_ACTAG_MASK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _OCXL_DVSEC_ACTAG_MASK@GOTPAGEOFF]
	ldr	w8, [x21]
	and	w2, w8, w3
	sxtw	x22, w1
Lloh2:
	adrp	x8, _OCXL_DVSEC_AFU_CTRL_ACTAG_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OCXL_DVSEC_AFU_CTRL_ACTAG_EN@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	add	x1, x8, x22
	bl	_pci_write_config_byte
	ldr	w8, [x21]
Lloh5:
	adrp	x9, _OCXL_DVSEC_AFU_CTRL_ACTAG_BASE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OCXL_DVSEC_AFU_CTRL_ACTAG_BASE@GOTPAGEOFF]
	and	w2, w8, w19
Lloh7:
	ldr	x8, [x9]
	add	x1, x8, x22
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pci_write_config_dword
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_OCXL_DVSEC_ACTAG_MASK,4,2      ; @OCXL_DVSEC_ACTAG_MASK
	.comm	_OCXL_DVSEC_AFU_CTRL_ACTAG_EN,8,3 ; @OCXL_DVSEC_AFU_CTRL_ACTAG_EN
	.comm	_OCXL_DVSEC_AFU_CTRL_ACTAG_BASE,8,3 ; @OCXL_DVSEC_AFU_CTRL_ACTAG_BASE
.subsections_via_symbols
