	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function f16_dbam_to_chip_select
_f16_dbam_to_chip_select:               ## @f16_dbam_to_chip_select
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edx, %ebx
	xorl	%edi, %edi
	cmpl	$13, %edx
	setae	%dil
	callq	_WARN_ON
	leal	-6(%rbx), %eax
	cmpl	$7, %eax
	jae	LBB0_3
## %bb.1:
	movl	$77, %ecx
	btl	%eax, %ecx
	jb	LBB0_2
LBB0_3:
	movl	%ebx, %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ddr3_cs_size                   ## TAILCALL
LBB0_2:
	movl	$-1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_f16_dbam_to_chip_select
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function f16_dbam_to_chip_select
_f16_dbam_to_chip_select:               ; @f16_dbam_to_chip_select
	.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, x2
	cmp	w2, #12
	cset	w0, hi
	bl	_WARN_ON
	sub	w8, w19, #6
	cmp	w8, #7
	b.hs	LBB0_2
; %bb.1:
	mov	w9, #77
	lsr	w8, w9, w8
	tbnz	w8, #0, LBB0_3
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ddr3_cs_size
LBB0_3:
	mov	w0, #-1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_f16_dbam_to_chip_select
.subsections_via_symbols
