	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_SetBrushModel               ## -- Begin function SV_SetBrushModel
	.p2align	4, 0x90
_SV_SetBrushModel:                      ## @SV_SetBrushModel
	.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	%rsi, %rbx
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	cmpb	$42, (%rbx)
	je	LBB0_4
LBB0_3:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_Com_Error
LBB0_4:
	incq	%rbx
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, 16(%r14)
	movl	%eax, %edi
	callq	_CM_InlineModel
	movl	%eax, %edi
	callq	_CM_ModelBounds
	movl	12(%r14), %esi
	callq	_VectorCopy
	movl	8(%r14), %esi
	callq	_VectorCopy
	movq	_qtrue@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movl	$-1, (%r14)
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_SV_LinkEntity                  ## TAILCALL
LBB0_1:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_Com_Error
	cmpb	$42, (%rbx)
	jne	LBB0_3
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SV_SetBrushModel: NULL"

L_.str.1:                               ## @.str.1
	.asciz	"SV_SetBrushModel: %s isn't a brush model"

	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SV_SetBrushModel               ; -- Begin function SV_SetBrushModel
	.p2align	2
_SV_SetBrushModel:                      ; @SV_SetBrushModel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	cbnz	x1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
LBB0_2:
	ldrb	w8, [x20]
	cmp	w8, #42
	b.eq	LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_Com_Error
LBB0_4:
	add	x0, x20, #1
	bl	_atoi
	str	w0, [x19, #16]
	bl	_CM_InlineModel
	bl	_CM_ModelBounds
	ldr	w1, [x19, #12]
	bl	_VectorCopy
	ldr	w1, [x19, #8]
	bl	_VectorCopy
Lloh10:
	adrp	x8, _qtrue@GOTPAGE
Lloh11:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	mov	w9, #-1
	stp	w9, w8, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_SV_LinkEntity
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SV_SetBrushModel: NULL"

l_.str.1:                               ; @.str.1
	.asciz	"SV_SetBrushModel: %s isn't a brush model"

	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
