	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_define_toolbar                 ## -- Begin function define_toolbar
	.p2align	4, 0x90
_define_toolbar:                        ## @define_toolbar
	.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
	movq	%r8, %rbx
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %r14
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	$32, %edi
	callq	_res_alloc
	movq	%rax, %r12
	movq	%r15, 24(%rax)
	movq	%r13, 16(%rax)
	movq	$0, (%rax)
	movq	%rbx, 8(%rax)
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rax
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.3:
	movq	%rax, (%r12)
LBB0_4:
	movq	_RT_TOOLBAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	movq	_resources@GOTPCREL(%rip), %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	callq	_define_standard_resource
	movq	_RES_TYPE_TOOLBAR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	%r12, 8(%rax)
	movl	(%r14), %ecx
	movl	%ecx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_resources,4,2                  ## @resources
	.comm	_RT_TOOLBAR,4,2                 ## @RT_TOOLBAR
	.comm	_RES_TYPE_TOOLBAR,4,2           ## @RES_TYPE_TOOLBAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_define_toolbar                 ; -- Begin function define_toolbar
	.p2align	2
_define_toolbar:                        ; @define_toolbar
	.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	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x19, x1
	mov	x21, x0
	mov	w0, #32
	bl	_res_alloc
	mov	x20, x0
	stp	x23, x24, [x0, #16]
	stp	xzr, x22, [x0]
	cbz	x22, LBB0_4
; %bb.1:
	mov	x8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, #1
	ldr	x22, [x22]
	cbnz	x22, LBB0_2
; %bb.3:
	str	x8, [x20]
LBB0_4:
Lloh0:
	adrp	x8, _RT_TOOLBAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RT_TOOLBAR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w3, [x19]
Lloh3:
	adrp	x0, _resources@GOTPAGE
Lloh4:
	ldr	x0, [x0, _resources@GOTPAGEOFF]
	mov	x2, x21
	mov	w4, #0
	bl	_define_standard_resource
Lloh5:
	adrp	x8, _RES_TYPE_TOOLBAR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RES_TYPE_TOOLBAR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	str	x20, [x0, #8]
	ldr	w8, [x19]
	str	w8, [x0]
	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
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_resources,4,2                  ; @resources
	.comm	_RT_TOOLBAR,4,2                 ; @RT_TOOLBAR
	.comm	_RES_TYPE_TOOLBAR,4,2           ; @RES_TYPE_TOOLBAR
.subsections_via_symbols
