	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pch_can_set_rxtx
_pch_can_set_rxtx:                      ## @pch_can_set_rxtx
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r14d
	movq	%rdi, %r15
	testl	%ecx, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_PCH_IF_MCONT_RXIE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_PCH_IF_MCONT_TXIE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r13d
	movq	_PCH_CMASK_RX_TX_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movq	(%rax), %rax
	movl	%ecx, %ebx
	shlq	$4, %rbx
	leaq	(%rax,%rbx), %rsi
	addq	$12, %rsi
	callq	_iowrite32
	movq	(%r15), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_pch_can_rw_msg_obj
	movq	_PCH_CMASK_RDWR@GOTPCREL(%rip), %rax
	movq	_PCH_CMASK_ARB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_PCH_CMASK_CTRL@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	(%r15), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rbx), %rsi
	addq	$12, %rsi
	callq	_iowrite32
	movq	(%r15), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rbx), %rdi
	addq	$8, %rdi
	movl	%r13d, %esi
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.4:
	callq	_pch_can_bit_set
	movq	(%r15), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rbx), %rdi
	addq	$4, %rdi
	movq	_PCH_ID_MSGVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pch_can_bit_set
	jmp	LBB0_6
LBB0_5:
	callq	_pch_can_bit_clear
	movq	(%r15), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rbx), %rdi
	addq	$4, %rdi
	movq	_PCH_ID_MSGVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pch_can_bit_clear
LBB0_6:
	movq	(%r15), %rax
	addq	(%rax), %rbx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pch_can_rw_msg_obj             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCH_IF_MCONT_TXIE,4,2          ## @PCH_IF_MCONT_TXIE
	.comm	_PCH_IF_MCONT_RXIE,4,2          ## @PCH_IF_MCONT_RXIE
	.comm	_PCH_CMASK_RX_TX_GET,4,2        ## @PCH_CMASK_RX_TX_GET
	.comm	_PCH_CMASK_RDWR,4,2             ## @PCH_CMASK_RDWR
	.comm	_PCH_CMASK_ARB,4,2              ## @PCH_CMASK_ARB
	.comm	_PCH_CMASK_CTRL,4,2             ## @PCH_CMASK_CTRL
	.comm	_PCH_ID_MSGVAL,4,2              ## @PCH_ID_MSGVAL
	.no_dead_strip	_pch_can_set_rxtx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pch_can_set_rxtx
_pch_can_set_rxtx:                      ; @pch_can_set_rxtx
	.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	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _PCH_IF_MCONT_RXIE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCH_IF_MCONT_RXIE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PCH_IF_MCONT_TXIE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PCH_IF_MCONT_TXIE@GOTPAGEOFF]
	cmp	w3, #0
	csel	x8, x8, x9, eq
	ldr	w21, [x8]
Lloh4:
	adrp	x8, _PCH_CMASK_RX_TX_GET@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PCH_CMASK_RX_TX_GET@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	w23, w3
	lsl	x24, x23, #4
	add	x8, x8, x24
	add	x1, x8, #12
	bl	_iowrite32
	ldr	x8, [x20]
	ldr	x8, [x8]
	add	x0, x8, x24
	mov	x1, x19
	bl	_pch_can_rw_msg_obj
Lloh7:
	adrp	x8, _PCH_CMASK_RDWR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PCH_CMASK_RDWR@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _PCH_CMASK_ARB@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PCH_CMASK_ARB@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh13:
	adrp	x9, _PCH_CMASK_CTRL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PCH_CMASK_CTRL@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x20]
	ldr	x8, [x8]
	add	x8, x8, x24
	add	x1, x8, #12
	bl	_iowrite32
	ldr	x8, [x20]
	ldr	x8, [x8]
	add	x8, x8, x24
	add	x0, x8, #8
	mov	x1, x21
	cbz	w22, LBB0_2
; %bb.1:
	bl	_pch_can_bit_set
	ldr	x8, [x20]
	ldr	x8, [x8]
	add	x8, x8, x23, lsl #4
	add	x0, x8, #4
Lloh16:
	adrp	x8, _PCH_ID_MSGVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PCH_ID_MSGVAL@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_pch_can_bit_set
	b	LBB0_3
LBB0_2:
	bl	_pch_can_bit_clear
	ldr	x8, [x20]
	ldr	x8, [x8]
	add	x8, x8, x23, lsl #4
	add	x0, x8, #4
Lloh19:
	adrp	x8, _PCH_ID_MSGVAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PCH_ID_MSGVAL@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_pch_can_bit_clear
LBB0_3:
	ldr	x8, [x20]
	ldr	x8, [x8]
	add	x0, x8, x23, lsl #4
	mov	x1, x19
	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
	b	_pch_can_rw_msg_obj
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_PCH_IF_MCONT_TXIE,4,2          ; @PCH_IF_MCONT_TXIE
	.comm	_PCH_IF_MCONT_RXIE,4,2          ; @PCH_IF_MCONT_RXIE
	.comm	_PCH_CMASK_RX_TX_GET,4,2        ; @PCH_CMASK_RX_TX_GET
	.comm	_PCH_CMASK_RDWR,4,2             ; @PCH_CMASK_RDWR
	.comm	_PCH_CMASK_ARB,4,2              ; @PCH_CMASK_ARB
	.comm	_PCH_CMASK_CTRL,4,2             ; @PCH_CMASK_CTRL
	.comm	_PCH_ID_MSGVAL,4,2              ; @PCH_ID_MSGVAL
	.no_dead_strip	_pch_can_set_rxtx
.subsections_via_symbols
