	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b43_tssi2dbm_entry
_b43_tssi2dbm_entry:                    ## @b43_tssi2dbm_entry
	.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	%r8d, %r13d
                                        ## kill: def $ecx killed $ecx def $rcx
                                        ## kill: def $edx killed $edx def $rdx
	movl	%esi, %r12d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	shll	$4, %edx
	imull	%esi, %ecx
	leal	(%rcx,%rdx), %edi
	movl	$32, %esi
	callq	_b43_tssi2dbm_ad
	movl	%eax, %r15d
	imull	%r12d, %r13d
	addl	$32768, %r13d                   ## imm = 0x8000
	movl	$256, %ebx                      ## imm = 0x100
	movl	%r13d, %edi
	movl	$256, %esi                      ## imm = 0x100
	callq	_b43_tssi2dbm_ad
	movl	%eax, %edi
	movl	$1, %esi
	callq	_max
	movl	%eax, %r13d
	movl	$17, %r14d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	decl	%r14d
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	imull	%r13d, %edi
	movl	$16, %esi
	callq	_b43_tssi2dbm_ad
	movl	$4096, %edi                     ## imm = 0x1000
	subl	%eax, %edi
	imull	%ebx, %edi
	movl	$2048, %esi                     ## imm = 0x800
	callq	_b43_tssi2dbm_ad
	movl	%eax, %ecx
	subl	%ebx, %ecx
	movl	%ecx, %edx
	negl	%edx
	cmovsl	%ecx, %edx
	movl	%eax, %ebx
	cmpl	$1, %edx
	ja	LBB0_1
## %bb.4:
	imull	%r15d, %eax
	movl	%eax, %edi
	movl	$8192, %esi                     ## imm = 0x2000
	callq	_b43_tssi2dbm_ad
	movl	%eax, %edi
	movl	$-127, %esi
	movl	$128, %edx
	callq	_clamp_val
	movslq	%r12d, %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_b43_tssi2dbm_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b43_tssi2dbm_entry
_b43_tssi2dbm_entry:                    ; @b43_tssi2dbm_entry
	.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
	mov	x22, x4
	mov	x19, x1
	mov	x20, x0
	mul	w8, w3, w1
	add	w0, w8, w2, lsl #4
	mov	w1, #32
	bl	_b43_tssi2dbm_ad
	mov	x21, x0
	orr	w8, wzr, #0x8000
	madd	w0, w22, w19, w8
	mov	w23, #256
	mov	w1, #256
	bl	_b43_tssi2dbm_ad
	mov	w1, #1
	bl	_max
	mov	x22, x0
	mov	w24, #17
	mov	w25, #4096
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	subs	w24, w24, #1
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mul	w0, w23, w22
	mov	w1, #16
	bl	_b43_tssi2dbm_ad
	sub	w8, w25, w0
	mul	w0, w8, w23
	mov	w1, #2048
	bl	_b43_tssi2dbm_ad
	subs	w8, w0, w23
	cneg	w8, w8, mi
	mov	x23, x0
	cmp	w8, #1
	b.hi	LBB0_1
; %bb.3:
	mul	w0, w0, w21
	mov	w1, #8192
	bl	_b43_tssi2dbm_ad
	mov	w1, #-127
	mov	w2, #128
	bl	_clamp_val
	mov	x8, x0
	mov	w0, #0
	str	w8, [x20, w19, sxtw #2]
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_b43_tssi2dbm_entry
.subsections_via_symbols
