	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_window
_create_window:                         ## @create_window
	.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	%rdi, %r14
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_glfwGetVideoMode
	movq	%rax, %rbx
	movq	_GLFW_REFRESH_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%rbx), %esi
	callq	_glfwWindowHint
	movq	_GLFW_RED_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_glfwWindowHint
	movq	_GLFW_GREEN_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	callq	_glfwWindowHint
	movq	_GLFW_BLUE_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	_glfwWindowHint
	movl	(%rbx), %edi
	movl	4(%rbx), %esi
	jmp	LBB0_3
LBB0_1:
	movl	$640, %edi                      ## imm = 0x280
	movl	$480, %esi                      ## imm = 0x1E0
LBB0_3:
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	callq	_glfwCreateWindow
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_glfwMakeContextCurrent
	movq	_glfwGetProcAddress@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gladLoadGL
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	callq	_glfwTerminate
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_GLFW_REFRESH_RATE,4,2          ## @GLFW_REFRESH_RATE
	.comm	_GLFW_RED_BITS,4,2              ## @GLFW_RED_BITS
	.comm	_GLFW_GREEN_BITS,4,2            ## @GLFW_GREEN_BITS
	.comm	_GLFW_BLUE_BITS,4,2             ## @GLFW_BLUE_BITS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Iconify"

	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.comm	_glfwGetProcAddress,4,2         ## @glfwGetProcAddress
	.no_dead_strip	_create_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_window
_create_window:                         ; @create_window
	.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
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_glfwGetVideoMode
	mov	x20, x0
Lloh0:
	adrp	x8, _GLFW_REFRESH_RATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLFW_REFRESH_RATE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x20, #20]
	bl	_glfwWindowHint
Lloh3:
	adrp	x8, _GLFW_RED_BITS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLFW_RED_BITS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x20, #16]
	bl	_glfwWindowHint
Lloh6:
	adrp	x8, _GLFW_GREEN_BITS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GLFW_GREEN_BITS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x20, #12]
	bl	_glfwWindowHint
Lloh9:
	adrp	x8, _GLFW_BLUE_BITS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GLFW_BLUE_BITS@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x20, #8]
	bl	_glfwWindowHint
	ldp	w0, w1, [x20]
	b	LBB0_3
LBB0_2:
	mov	w0, #640
	mov	w1, #480
LBB0_3:
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x19
	mov	x4, #0
	bl	_glfwCreateWindow
	cbz	x0, LBB0_5
; %bb.4:
	mov	x19, x0
	bl	_glfwMakeContextCurrent
Lloh14:
	adrp	x8, _glfwGetProcAddress@GOTPAGE
Lloh15:
	ldr	x8, [x8, _glfwGetProcAddress@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_gladLoadGL
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	_glfwTerminate
Lloh17:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GLFW_REFRESH_RATE,4,2          ; @GLFW_REFRESH_RATE
	.comm	_GLFW_RED_BITS,4,2              ; @GLFW_RED_BITS
	.comm	_GLFW_GREEN_BITS,4,2            ; @GLFW_GREEN_BITS
	.comm	_GLFW_BLUE_BITS,4,2             ; @GLFW_BLUE_BITS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Iconify"

	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.comm	_glfwGetProcAddress,4,2         ; @glfwGetProcAddress
	.no_dead_strip	_create_window
.subsections_via_symbols
