	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_print_glsl_info_log            ## -- Begin function print_glsl_info_log
	.p2align	4, 0x90
_print_glsl_info_log:                   ## @print_glsl_info_log
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, %r12d
	movq	%rdi, %r15
	movl	$0, -44(%rbp)
	movq	_d3d_shader@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_WARN_ON
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	callq	_FIXME_ON
	testl	%eax, %eax
	je	LBB0_17
LBB0_2:
	movq	_GL_INFO_LOG_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	movl	%r12d, %edi
	testq	%r13, %r13
	je	LBB0_4
## %bb.3:
	callq	_glGetProgramiv
	jmp	LBB0_5
LBB0_4:
	callq	_glGetShaderiv
LBB0_5:
	movl	%eax, %edi
	callq	_GL_EXTCALL
	movl	-44(%rbp), %edi
	cmpl	$2, %edi
	jl	LBB0_17
## %bb.6:
	callq	_heap_alloc
	movq	%rax, %r14
	movslq	-44(%rbp), %rax
	movb	$0, -1(%rax,%r14)
	movl	-44(%rbp), %esi
	movl	%r12d, %edi
	xorl	%edx, %edx
	movq	%r14, %rcx
	testq	%r13, %r13
	je	LBB0_8
## %bb.7:
	callq	_glGetProgramInfoLog
	jmp	LBB0_9
LBB0_8:
	callq	_glGetShaderInfoLog
LBB0_9:
	movl	%eax, %edi
	callq	_GL_EXTCALL
	movq	%r14, -56(%rbp)
	movq	_WINED3D_QUIRK_INFO_LOG_SPAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_13
## %bb.10:
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_WARN
	leaq	-56(%rbp), %rdi
	callq	_get_info_log_line
	testq	%rax, %rax
	je	LBB0_16
## %bb.11:
	leaq	L_.str.1(%rip), %r15
	leaq	-56(%rbp), %rbx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	-56(%rbp), %esi
	subl	%eax, %esi
	movq	%r15, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_WARN
	movq	%rbx, %rdi
	callq	_get_info_log_line
	testq	%rax, %rax
	jne	LBB0_12
	jmp	LBB0_16
LBB0_13:
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_FIXME
	leaq	-56(%rbp), %rdi
	callq	_get_info_log_line
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	leaq	L_.str.1(%rip), %r15
	leaq	-56(%rbp), %rbx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	-56(%rbp), %esi
	subl	%eax, %esi
	movq	%r15, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_FIXME
	movq	%rbx, %rdi
	callq	_get_info_log_line
	testq	%rax, %rax
	jne	LBB0_15
LBB0_16:
	movq	%r14, %rdi
	callq	_heap_free
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_d3d_shader,4,2                 ## @d3d_shader
	.comm	_GL_INFO_LOG_LENGTH,4,2         ## @GL_INFO_LOG_LENGTH
	.comm	_WINED3D_QUIRK_INFO_LOG_SPAM,4,2 ## @WINED3D_QUIRK_INFO_LOG_SPAM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Info log received from GLSL shader #%u:\n"

L_.str.1:                               ## @.str.1
	.asciz	"    %.*s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_print_glsl_info_log            ; -- Begin function print_glsl_info_log
	.p2align	2
_print_glsl_info_log:                   ; @print_glsl_info_log
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	str	wzr, [sp, #28]
Lloh0:
	adrp	x19, _d3d_shader@GOTPAGE
Lloh1:
	ldr	x19, [x19, _d3d_shader@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_WARN_ON
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
	bl	_FIXME_ON
	cbz	w0, LBB0_17
LBB0_2:
Lloh2:
	adrp	x8, _GL_INFO_LOG_LENGTH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GL_INFO_LOG_LENGTH@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #28
	mov	x0, x20
	cbz	x22, LBB0_4
; %bb.3:
	bl	_glGetProgramiv
	b	LBB0_5
LBB0_4:
	bl	_glGetShaderiv
LBB0_5:
	bl	_GL_EXTCALL
	ldr	w0, [sp, #28]
	cmp	w0, #2
	b.lt	LBB0_17
; %bb.6:
	bl	_heap_alloc
	mov	x19, x0
	ldrsw	x8, [sp, #28]
	add	x8, x8, x0
	sturb	wzr, [x8, #-1]
	ldr	w1, [sp, #28]
	mov	x0, x20
	mov	x2, #0
	mov	x3, x19
	cbz	x22, LBB0_8
; %bb.7:
	bl	_glGetProgramInfoLog
	b	LBB0_9
LBB0_8:
	bl	_glGetShaderInfoLog
LBB0_9:
	bl	_GL_EXTCALL
	str	x19, [sp, #16]
	ldr	w8, [x21]
Lloh5:
	adrp	x9, _WINED3D_QUIRK_INFO_LOG_SPAM@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WINED3D_QUIRK_INFO_LOG_SPAM@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	tst	w9, w8
	b.eq	LBB0_13
; %bb.10:
	bl	_WARN
	add	x0, sp, #16
	bl	_get_info_log_line
	cbz	x0, LBB0_16
; %bb.11:
Lloh10:
	adrp	x20, l_.str.1@PAGE
Lloh11:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #16]
	sub	w1, w8, w0
	str	x0, [sp]
	mov	x0, x20
	bl	_WARN
	add	x0, sp, #16
	bl	_get_info_log_line
	cbnz	x0, LBB0_12
	b	LBB0_16
LBB0_13:
	bl	_FIXME
	add	x0, sp, #16
	bl	_get_info_log_line
	cbz	x0, LBB0_16
; %bb.14:
Lloh12:
	adrp	x20, l_.str.1@PAGE
Lloh13:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #16]
	sub	w1, w8, w0
	str	x0, [sp]
	mov	x0, x20
	bl	_FIXME
	add	x0, sp, #16
	bl	_get_info_log_line
	cbnz	x0, LBB0_15
LBB0_16:
	mov	x0, x19
	bl	_heap_free
LBB0_17:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_d3d_shader,4,2                 ; @d3d_shader
	.comm	_GL_INFO_LOG_LENGTH,4,2         ; @GL_INFO_LOG_LENGTH
	.comm	_WINED3D_QUIRK_INFO_LOG_SPAM,4,2 ; @WINED3D_QUIRK_INFO_LOG_SPAM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Info log received from GLSL shader #%u:\n"

l_.str.1:                               ; @.str.1
	.asciz	"    %.*s"

.subsections_via_symbols
