	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib3000mc_set_impulse_noise
_dib3000mc_set_impulse_noise:           ## @dib3000mc_set_impulse_noise
	.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	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %r12
	xorl	%ebx, %ebx
	movq	_impulse_noise_val@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %edx
	leal	58(%rbx), %esi
	movq	%r12, %rdi
	callq	_dib3000mc_write_word
	incq	%rbx
	cmpq	$29, %rbx
	jne	LBB0_1
## %bb.2:
	movq	_TRANSMISSION_MODE_8K@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movl	$58, %esi
	movl	$59, %edx
	callq	_dib3000mc_write_word
	movq	%r12, %rdi
	movl	$84, %esi
	xorl	%edx, %edx
	callq	_dib3000mc_write_word
	movq	%r12, %rdi
	movl	$85, %esi
	movl	$33280, %edx                    ## imm = 0x8200
	callq	_dib3000mc_write_word
LBB0_4:
	movq	%r12, %rdi
	movl	$34, %esi
	movl	$4756, %edx                     ## imm = 0x1294
	callq	_dib3000mc_write_word
	movq	%r12, %rdi
	movl	$35, %esi
	movl	$8184, %edx                     ## imm = 0x1FF8
	callq	_dib3000mc_write_word
	cmpl	$1, %r14d
	jne	LBB0_5
## %bb.6:
	movq	%r12, %rdi
	movl	$55, %esi
	callq	_dib3000mc_read_word
	orl	$1024, %eax                     ## imm = 0x400
	movq	%r12, %rdi
	movl	$55, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dib3000mc_write_word           ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_impulse_noise_val,8,3          ## @impulse_noise_val
	.comm	_TRANSMISSION_MODE_8K,8,3       ## @TRANSMISSION_MODE_8K
	.no_dead_strip	_dib3000mc_set_impulse_noise
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib3000mc_set_impulse_noise
_dib3000mc_set_impulse_noise:           ; @dib3000mc_set_impulse_noise
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x22, #0
Lloh0:
	adrp	x23, _impulse_noise_val@GOTPAGE
Lloh1:
	ldr	x23, [x23, _impulse_noise_val@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	w2, [x8, x22, lsl #2]
	add	w1, w22, #58
	mov	x0, x19
	bl	_dib3000mc_write_word
	add	x22, x22, #1
	cmp	x22, #29
	b.ne	LBB0_1
; %bb.2:
Lloh2:
	adrp	x8, _TRANSMISSION_MODE_8K@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRANSMISSION_MODE_8K@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #58
	mov	w2, #59
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #84
	mov	w2, #0
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #85
	mov	w2, #33280
	bl	_dib3000mc_write_word
LBB0_4:
	mov	x0, x19
	mov	w1, #34
	mov	w2, #4756
	bl	_dib3000mc_write_word
	mov	x0, x19
	mov	w1, #35
	mov	w2, #8184
	bl	_dib3000mc_write_word
	cmp	w20, #1
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #55
	bl	_dib3000mc_read_word
	orr	w2, w0, #0x400
	mov	x0, x19
	mov	w1, #55
	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	_dib3000mc_write_word
LBB0_6:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_impulse_noise_val,8,3          ; @impulse_noise_val
	.comm	_TRANSMISSION_MODE_8K,8,3       ; @TRANSMISSION_MODE_8K
	.no_dead_strip	_dib3000mc_set_impulse_noise
.subsections_via_symbols
