	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wbcir_cfg_ceir
_wbcir_cfg_ceir:                        ## @wbcir_cfg_ceir
	.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, %rbx
	movq	_protocol@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$4, %eax
	movq	_invert@GOTPCREL(%rip), %r14
	leal	8(%rax), %edi
	cmpq	$0, (%r14)
	cmovel	%eax, %edi
	movq	_WBCIR_REG_WCEIR_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_outb
	movq	_WBCIR_REG_WCEIR_STS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	movl	$23, %esi
	movl	$23, %edx
	callq	_wbcir_set_bits
	movq	_WBCIR_REG_WCEIR_EV_EN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	xorl	%esi, %esi
	movl	$7, %edx
	callq	_wbcir_set_bits
	movq	_WBCIR_REG_WCEIR_CFG1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	movl	$74, %esi
	movl	$127, %edx
	callq	_wbcir_set_bits
	xorl	%edi, %edi
	cmpq	$0, (%r14)
	setne	%dil
	movq	_WBCIR_REG_ECEIR_CCTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	shll	$2, %edi
	callq	_outb
	movq	_WBCIR_REG_ECEIR_CTS@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	$16, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_outb                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_protocol,4,2                   ## @protocol
	.comm	_invert,8,3                     ## @invert
	.comm	_WBCIR_REG_WCEIR_CTL,8,3        ## @WBCIR_REG_WCEIR_CTL
	.comm	_WBCIR_REG_WCEIR_STS,8,3        ## @WBCIR_REG_WCEIR_STS
	.comm	_WBCIR_REG_WCEIR_EV_EN,8,3      ## @WBCIR_REG_WCEIR_EV_EN
	.comm	_WBCIR_REG_WCEIR_CFG1,8,3       ## @WBCIR_REG_WCEIR_CFG1
	.comm	_WBCIR_REG_ECEIR_CCTL,8,3       ## @WBCIR_REG_ECEIR_CCTL
	.comm	_WBCIR_REG_ECEIR_CTS,8,3        ## @WBCIR_REG_ECEIR_CTS
	.no_dead_strip	_wbcir_cfg_ceir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wbcir_cfg_ceir
_wbcir_cfg_ceir:                        ; @wbcir_cfg_ceir
	.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
Lloh0:
	adrp	x8, _protocol@GOTPAGE
Lloh1:
	ldr	x8, [x8, _protocol@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w9, w8, #4
Lloh3:
	adrp	x20, _invert@GOTPAGE
Lloh4:
	ldr	x20, [x20, _invert@GOTPAGEOFF]
	ldr	x10, [x20]
	mov	w11, #8
	bfi	w11, w8, #4, #28
	cmp	x10, #0
	csel	w0, w9, w11, eq
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _WBCIR_REG_WCEIR_CTL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WBCIR_REG_WCEIR_CTL@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_outb
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _WBCIR_REG_WCEIR_STS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WBCIR_REG_WCEIR_STS@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w1, #23
	mov	w2, #23
	bl	_wbcir_set_bits
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x9, _WBCIR_REG_WCEIR_EV_EN@GOTPAGE
Lloh12:
	ldr	x9, [x9, _WBCIR_REG_WCEIR_EV_EN@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w1, #0
	mov	w2, #7
	bl	_wbcir_set_bits
	ldr	x8, [x19, #8]
Lloh14:
	adrp	x9, _WBCIR_REG_WCEIR_CFG1@GOTPAGE
Lloh15:
	ldr	x9, [x9, _WBCIR_REG_WCEIR_CFG1@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w1, #74
	mov	w2, #127
	bl	_wbcir_set_bits
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w8, ne
	ldr	x9, [x19]
Lloh17:
	adrp	x10, _WBCIR_REG_ECEIR_CCTL@GOTPAGE
Lloh18:
	ldr	x10, [x10, _WBCIR_REG_ECEIR_CCTL@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	add	x1, x10, x9
	lsl	w0, w8, #2
	bl	_outb
	ldr	x8, [x19]
Lloh20:
	adrp	x9, _WBCIR_REG_ECEIR_CTS@GOTPAGE
Lloh21:
	ldr	x9, [x9, _WBCIR_REG_ECEIR_CTS@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_outb
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_protocol,4,2                   ; @protocol
	.comm	_invert,8,3                     ; @invert
	.comm	_WBCIR_REG_WCEIR_CTL,8,3        ; @WBCIR_REG_WCEIR_CTL
	.comm	_WBCIR_REG_WCEIR_STS,8,3        ; @WBCIR_REG_WCEIR_STS
	.comm	_WBCIR_REG_WCEIR_EV_EN,8,3      ; @WBCIR_REG_WCEIR_EV_EN
	.comm	_WBCIR_REG_WCEIR_CFG1,8,3       ; @WBCIR_REG_WCEIR_CFG1
	.comm	_WBCIR_REG_ECEIR_CCTL,8,3       ; @WBCIR_REG_ECEIR_CCTL
	.comm	_WBCIR_REG_ECEIR_CTS,8,3        ; @WBCIR_REG_ECEIR_CTS
	.no_dead_strip	_wbcir_cfg_ceir
.subsections_via_symbols
