	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pch_can_config_rx_tx_buffers
_pch_can_config_rx_tx_buffers:          ## @pch_can_config_rx_tx_buffers
	.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
	movq	%rdi, %rbx
	movq	_PCH_RX_OBJ_START@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_PCH_RX_OBJ_END@GOTPCREL(%rip), %r15
	cmpl	(%r15), %r14d
	jle	LBB0_1
LBB0_6:
	movq	_PCH_TX_OBJ_START@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_PCH_TX_OBJ_END@GOTPCREL(%rip), %r13
	cmpl	(%r13), %r14d
	jg	LBB0_9
## %bb.7:
	movq	_PCH_CMASK_ARB@GOTPCREL(%rip), %r12
	movq	_PCH_CMASK_CTRL@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PCH_CMASK_RX_TX_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$32, %rsi
	callq	_iowrite32
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	addq	$28, %rdi
	movl	%r14d, %esi
	callq	_pch_can_rw_msg_obj
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$52, %rsi
	xorl	%edi, %edi
	callq	_iowrite32
	movq	_PCH_ID2_DIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$48, %rsi
	callq	_iowrite32
	movq	_PCH_IF_MCONT_UMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PCH_IF_MCONT_EOB@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$44, %rsi
	callq	_iowrite32
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$40, %rsi
	xorl	%edi, %edi
	callq	_iowrite32
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	addq	$36, %rdi
	movl	$8191, %esi                     ## imm = 0x1FFF
	callq	_pch_can_bit_clear
	movq	_PCH_CMASK_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PCH_CMASK_RDWR@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	orl	(%r12), %edi
	orl	(%r15), %edi
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$32, %rsi
	callq	_iowrite32
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	addq	$28, %rdi
	movl	%r14d, %esi
	callq	_pch_can_rw_msg_obj
	leal	1(%r14), %eax
	cmpl	(%r13), %r14d
	movl	%eax, %r14d
	jl	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_PCH_CMASK_ARB@GOTPCREL(%rip), %r13
	movq	_PCH_CMASK_CTRL@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_pch_can_bit_clear
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$12, %rsi
	xorl	%edi, %edi
	callq	_iowrite32
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	addq	$8, %rdi
	movq	_PCH_MASK2_MDIR_MXTD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8191, %eax                     ## imm = 0x1FFF
	orl	%eax, %esi
	callq	_pch_can_bit_clear
	movq	_PCH_CMASK_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PCH_CMASK_RDWR@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	orl	(%r13), %edi
	orl	(%r12), %edi
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$4, %rsi
	callq	_iowrite32
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	movl	%r14d, %esi
	callq	_pch_can_rw_msg_obj
	leal	1(%r14), %eax
	cmpl	(%r15), %r14d
	movl	%eax, %r14d
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PCH_CMASK_RX_TX_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$4, %rsi
	callq	_iowrite32
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	movl	%r14d, %esi
	callq	_pch_can_rw_msg_obj
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$24, %rsi
	xorl	%edi, %edi
	callq	_iowrite32
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	addq	$20, %rsi
	xorl	%edi, %edi
	callq	_iowrite32
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	addq	$16, %rdi
	movq	_PCH_IF_MCONT_UMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pch_can_bit_set
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	addq	$16, %rdi
	movq	_PCH_IF_MCONT_EOB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	(%r15), %r14d
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_pch_can_bit_set
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_PCH_RX_OBJ_START,4,2           ## @PCH_RX_OBJ_START
	.comm	_PCH_RX_OBJ_END,4,2             ## @PCH_RX_OBJ_END
	.comm	_PCH_CMASK_RX_TX_GET,4,2        ## @PCH_CMASK_RX_TX_GET
	.comm	_PCH_IF_MCONT_UMASK,4,2         ## @PCH_IF_MCONT_UMASK
	.comm	_PCH_IF_MCONT_EOB,4,2           ## @PCH_IF_MCONT_EOB
	.comm	_PCH_MASK2_MDIR_MXTD,4,2        ## @PCH_MASK2_MDIR_MXTD
	.comm	_PCH_CMASK_RDWR,4,2             ## @PCH_CMASK_RDWR
	.comm	_PCH_CMASK_MASK,4,2             ## @PCH_CMASK_MASK
	.comm	_PCH_CMASK_ARB,4,2              ## @PCH_CMASK_ARB
	.comm	_PCH_CMASK_CTRL,4,2             ## @PCH_CMASK_CTRL
	.comm	_PCH_TX_OBJ_START,4,2           ## @PCH_TX_OBJ_START
	.comm	_PCH_TX_OBJ_END,4,2             ## @PCH_TX_OBJ_END
	.comm	_PCH_ID2_DIR,4,2                ## @PCH_ID2_DIR
	.no_dead_strip	_pch_can_config_rx_tx_buffers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pch_can_config_rx_tx_buffers
_pch_can_config_rx_tx_buffers:          ; @pch_can_config_rx_tx_buffers
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _PCH_RX_OBJ_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCH_RX_OBJ_START@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x28, _PCH_RX_OBJ_END@GOTPAGE
Lloh4:
	ldr	x28, [x28, _PCH_RX_OBJ_END@GOTPAGEOFF]
Lloh5:
	adrp	x21, _PCH_CMASK_RX_TX_GET@GOTPAGE
Lloh6:
	ldr	x21, [x21, _PCH_CMASK_RX_TX_GET@GOTPAGEOFF]
Lloh7:
	adrp	x22, _PCH_IF_MCONT_EOB@GOTPAGE
Lloh8:
	ldr	x22, [x22, _PCH_IF_MCONT_EOB@GOTPAGEOFF]
Lloh9:
	adrp	x23, _PCH_IF_MCONT_UMASK@GOTPAGE
Lloh10:
	ldr	x23, [x23, _PCH_IF_MCONT_UMASK@GOTPAGEOFF]
Lloh11:
	adrp	x24, _PCH_CMASK_RDWR@GOTPAGE
Lloh12:
	ldr	x24, [x24, _PCH_CMASK_RDWR@GOTPAGEOFF]
Lloh13:
	adrp	x25, _PCH_CMASK_MASK@GOTPAGE
Lloh14:
	ldr	x25, [x25, _PCH_CMASK_MASK@GOTPAGEOFF]
	ldr	w8, [x28]
Lloh15:
	adrp	x26, _PCH_CMASK_ARB@GOTPAGE
Lloh16:
	ldr	x26, [x26, _PCH_CMASK_ARB@GOTPAGEOFF]
Lloh17:
	adrp	x27, _PCH_CMASK_CTRL@GOTPAGE
Lloh18:
	ldr	x27, [x27, _PCH_CMASK_CTRL@GOTPAGEOFF]
	cmp	w20, w8
	b.le	LBB0_6
LBB0_1:
Lloh19:
	adrp	x8, _PCH_TX_OBJ_START@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PCH_TX_OBJ_START@GOTPAGEOFF]
Lloh21:
	ldr	w20, [x8]
Lloh22:
	adrp	x28, _PCH_TX_OBJ_END@GOTPAGE
Lloh23:
	ldr	x28, [x28, _PCH_TX_OBJ_END@GOTPAGEOFF]
	ldr	w8, [x28]
	cmp	w20, w8
	b.gt	LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x1, x8, #32
	bl	_iowrite32
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x0, x8, #28
	mov	x1, x20
	bl	_pch_can_rw_msg_obj
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x1, x8, #52
	mov	w0, #0
	bl	_iowrite32
Lloh24:
	adrp	x8, _PCH_ID2_DIR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PCH_ID2_DIR@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x1, x8, #48
	bl	_iowrite32
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w0, w9, w8
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x1, x8, #44
	bl	_iowrite32
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x1, x8, #40
	mov	w0, #0
	bl	_iowrite32
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x0, x8, #36
	mov	w1, #8191
	bl	_pch_can_bit_clear
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w8, w9, w8
	ldr	w9, [x26]
	orr	w8, w8, w9
	ldr	w9, [x27]
	orr	w0, w8, w9
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x1, x8, #32
	bl	_iowrite32
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x0, x8, #28
	mov	x1, x20
	bl	_pch_can_rw_msg_obj
	add	w8, w20, #1
	ldr	w9, [x28]
	cmp	w20, w9
	mov	x20, x8
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_pch_can_bit_clear
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x1, x8, #12
	mov	w0, #0
	bl	_iowrite32
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x0, x8, #8
Lloh27:
	adrp	x8, _PCH_MASK2_MDIR_MXTD@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PCH_MASK2_MDIR_MXTD@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	orr	w1, w8, #0x1fff
	bl	_pch_can_bit_clear
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w8, w9, w8
	ldr	w9, [x26]
	orr	w8, w8, w9
	ldr	w9, [x27]
	orr	w0, w8, w9
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x1, x8, #4
	bl	_iowrite32
	ldr	x8, [x19]
	ldr	x0, [x8]
	mov	x1, x20
	bl	_pch_can_rw_msg_obj
	add	w8, w20, #1
	ldr	w9, [x28]
	cmp	w20, w9
	mov	x20, x8
	b.ge	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x1, x8, #4
	bl	_iowrite32
	ldr	x8, [x19]
	ldr	x0, [x8]
	mov	x1, x20
	bl	_pch_can_rw_msg_obj
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x1, x8, #24
	mov	w0, #0
	bl	_iowrite32
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x1, x8, #20
	mov	w0, #0
	bl	_iowrite32
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x0, x8, #16
	ldr	w1, [x23]
	bl	_pch_can_bit_set
	ldr	w8, [x28]
	ldr	x9, [x19]
	ldr	x9, [x9]
	add	x0, x9, #16
	ldr	w1, [x22]
	cmp	w20, w8
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_pch_can_bit_set
	b	LBB0_5
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_PCH_RX_OBJ_START,4,2           ; @PCH_RX_OBJ_START
	.comm	_PCH_RX_OBJ_END,4,2             ; @PCH_RX_OBJ_END
	.comm	_PCH_CMASK_RX_TX_GET,4,2        ; @PCH_CMASK_RX_TX_GET
	.comm	_PCH_IF_MCONT_UMASK,4,2         ; @PCH_IF_MCONT_UMASK
	.comm	_PCH_IF_MCONT_EOB,4,2           ; @PCH_IF_MCONT_EOB
	.comm	_PCH_MASK2_MDIR_MXTD,4,2        ; @PCH_MASK2_MDIR_MXTD
	.comm	_PCH_CMASK_RDWR,4,2             ; @PCH_CMASK_RDWR
	.comm	_PCH_CMASK_MASK,4,2             ; @PCH_CMASK_MASK
	.comm	_PCH_CMASK_ARB,4,2              ; @PCH_CMASK_ARB
	.comm	_PCH_CMASK_CTRL,4,2             ; @PCH_CMASK_CTRL
	.comm	_PCH_TX_OBJ_START,4,2           ; @PCH_TX_OBJ_START
	.comm	_PCH_TX_OBJ_END,4,2             ; @PCH_TX_OBJ_END
	.comm	_PCH_ID2_DIR,4,2                ; @PCH_ID2_DIR
	.no_dead_strip	_pch_can_config_rx_tx_buffers
.subsections_via_symbols
