	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipu_config_wave_gen_0
_ipu_config_wave_gen_0:                 ## @ipu_config_wave_gen_0
	.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	%r9d, %r15d
	movl	%r8d, %r12d
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	testl	%esi, %esi
	jne	LBB0_1
## %bb.2:
	movq	_IPU_DI0_SW_GEN0_1@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_IPU_DI1_SW_GEN0_1@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	leal	(%rax,%rdx,4), %r13d
	addl	$-4, %r13d
	movl	%ecx, %edi
	callq	_DI_RUN_VALUE_M1
	movl	%eax, %r14d
	movl	%r12d, %edi
	callq	_DI_RUN_RESOLUTION
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_DI_OFFSET_VALUE
	orl	16(%rbp), %r14d
	orl	%eax, %ebx
	orl	%r14d, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IPU_WRITE4                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPU_DI1_SW_GEN0_1,4,2          ## @IPU_DI1_SW_GEN0_1
	.comm	_IPU_DI0_SW_GEN0_1,4,2          ## @IPU_DI0_SW_GEN0_1
	.no_dead_strip	_ipu_config_wave_gen_0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipu_config_wave_gen_0
_ipu_config_wave_gen_0:                 ; @ipu_config_wave_gen_0
	.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	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x22, x0
Lloh0:
	adrp	x8, _IPU_DI1_SW_GEN0_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPU_DI1_SW_GEN0_1@GOTPAGEOFF]
Lloh2:
	adrp	x9, _IPU_DI0_SW_GEN0_1@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IPU_DI0_SW_GEN0_1@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	add	w8, w8, w2, lsl #2
	sub	w23, w8, #4
	mov	x0, x3
	bl	_DI_RUN_VALUE_M1
	mov	x24, x0
	mov	x0, x21
	bl	_DI_RUN_RESOLUTION
	mov	x21, x0
	mov	x0, x20
	bl	_DI_OFFSET_VALUE
	orr	w8, w24, w19
	orr	w8, w8, w21
	orr	w2, w8, w0
	mov	x0, x22
	mov	x1, x23
	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	_IPU_WRITE4
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IPU_DI1_SW_GEN0_1,4,2          ; @IPU_DI1_SW_GEN0_1
	.comm	_IPU_DI0_SW_GEN0_1,4,2          ; @IPU_DI0_SW_GEN0_1
	.no_dead_strip	_ipu_config_wave_gen_0
.subsections_via_symbols
