	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_render_bg_inv                  ## -- Begin function render_bg_inv
	.p2align	4, 0x90
_render_bg_inv:                         ## @render_bg_inv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_reg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	28(%rax), %r14d
	movq	_linebuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	leaq	128(%rbx), %rdi
	movl	$64, %esi
	movl	$8, %edx
	callq	_memset
	addq	$160, %rbx
	movl	%r14d, %eax
	shrl	$4, %eax
	andl	$15, %eax
	orl	$16, %eax
	andl	$15, %r14d
	orl	$16, %r14d
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rbx,%rax)
	movl	%r14d, 16(%rbx,%rax)
	movl	%r14d, 20(%rbx,%rax)
	movdqu	%xmm0, 24(%rbx,%rax)
	movl	%r14d, 40(%rbx,%rax)
	movl	%r14d, 44(%rbx,%rax)
	movdqu	%xmm0, 48(%rbx,%rax)
	movl	%r14d, 64(%rbx,%rax)
	movl	%r14d, 68(%rbx,%rax)
	movdqu	%xmm0, 72(%rbx,%rax)
	movl	%r14d, 88(%rbx,%rax)
	movl	%r14d, 92(%rbx,%rax)
	movdqu	%xmm0, 96(%rbx,%rax)
	movl	%r14d, 112(%rbx,%rax)
	movl	%r14d, 116(%rbx,%rax)
	addq	$120, %rax
	cmpl	$960, %eax                      ## imm = 0x3C0
	jne	LBB0_1
## %bb.2:
	addq	%rax, %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	movl	$8, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_memset                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_reg,8,3                        ## @reg
	.comm	_linebuf,8,3                    ## @linebuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_render_bg_inv                  ; -- Begin function render_bg_inv
	.p2align	2
_render_bg_inv:                         ; @render_bg_inv
	.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
Lloh0:
	adrp	x8, _reg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _reg@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w19, [x8, #28]
Lloh3:
	adrp	x8, _linebuf@GOTPAGE
Lloh4:
	ldr	x8, [x8, _linebuf@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x20, [x8]
	add	x0, x20, #128
	mov	w1, #64
	mov	w2, #8
	bl	_memset
	mov	x8, #0
	add	x9, x20, #160
	mov	w10, #16
	mov	w11, #16
	bfxil	w11, w19, #4, #4
	bfxil	w10, w19, #0, #4
	dup.4s	v0, w11
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x9, x8
	str	q0, [x11]
	stp	w10, w10, [x11, #16]
	add	x8, x8, #24
	cmp	w8, #960
	b.ne	LBB0_1
; %bb.2:
	add	x0, x9, x8
	mov	w1, #64
	mov	w2, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memset
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_reg,8,3                        ; @reg
	.comm	_linebuf,8,3                    ; @linebuf
.subsections_via_symbols
