	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_sf2_cfp_udf_set
_bcm_sf2_cfp_udf_set:                   ## @bcm_sf2_cfp_udf_set
	.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	_UDFS_PER_SLICE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	(%rsi), %rax
	movl	%edx, %ebx
	shlq	$4, %rbx
	movq	8(%rax,%rbx), %rdx
	movq	(%rax,%rbx), %rax
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax), %esi
	movq	%rdi, %r13
	movq	%rdx, %r15
	callq	_core_writel
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	_UDFS_PER_SLICE@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jb	LBB0_4
## %bb.2:
	movl	$1, %r12d
	movl	$4, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rax
	movq	(%rax,%rbx), %rax
	movl	(%rax,%r12,4), %esi
	movl	%r14d, %edx
	andl	$-4, %edx
	addq	%r15, %rdx
	movq	%r13, %rdi
	callq	_core_writel
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	incq	%r12
	movq	_UDFS_PER_SLICE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$4, %r14
	cmpq	%rax, %r12
	jb	LBB0_3
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UDFS_PER_SLICE,4,2             ## @UDFS_PER_SLICE
	.no_dead_strip	_bcm_sf2_cfp_udf_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_sf2_cfp_udf_set
_bcm_sf2_cfp_udf_set:                   ; @bcm_sf2_cfp_udf_set
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x22, _UDFS_PER_SLICE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _UDFS_PER_SLICE@GOTPAGEOFF]
	ldr	w8, [x22]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1]
	mov	w9, w2
	add	x10, x8, w2, uxtw #4
	ldr	x21, [x10, #8]
	lsl	x23, x9, #4
	ldr	x8, [x8, x23]
	ldr	w1, [x8]
	mov	x2, x21
	bl	_core_writel
	ldr	w8, [x22]
	cmp	w8, #2
	b.lo	LBB0_4
; %bb.2:
	mov	w24, #1
	mov	w25, #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8, x23]
	ldr	w1, [x8, x24, lsl #2]
	and	x8, x25, #0xfffffffc
	add	x2, x21, x8
	mov	x0, x20
	bl	_core_writel
	add	x24, x24, #1
	ldr	w8, [x22]
	add	x25, x25, #4
	cmp	x24, x8
	b.lo	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_UDFS_PER_SLICE,4,2             ; @UDFS_PER_SLICE
	.no_dead_strip	_bcm_sf2_cfp_udf_set
.subsections_via_symbols
