	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_xkb                       ## -- Begin function free_xkb
	.p2align	4, 0x90
_free_xkb:                              ## @free_xkb
	.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	_mod_map_idx@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_free
LBB0_2:
	movq	_mod_map_bit@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_free
LBB0_4:
	movq	_xkb_map@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_xkb_keymap_unref
LBB0_6:
	movq	_xkb_ctx@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_xkb_context_unref
LBB0_8:
	movq	_xkb_state@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_xkb_state_unref
LBB0_10:
	movq	$0, (%r14)
	movq	$0, (%r15)
	movq	$0, (%r12)
	movq	$0, (%r13)
	movq	$0, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mod_map_idx,8,3                ## @mod_map_idx
	.comm	_mod_map_bit,8,3                ## @mod_map_bit
	.comm	_xkb_map,8,3                    ## @xkb_map
	.comm	_xkb_ctx,8,3                    ## @xkb_ctx
	.comm	_xkb_state,8,3                  ## @xkb_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_xkb                       ; -- Begin function free_xkb
	.p2align	2
_free_xkb:                              ; @free_xkb
	.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
Lloh0:
	adrp	x19, _mod_map_idx@GOTPAGE
Lloh1:
	ldr	x19, [x19, _mod_map_idx@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_free
LBB0_2:
Lloh2:
	adrp	x20, _mod_map_bit@GOTPAGE
Lloh3:
	ldr	x20, [x20, _mod_map_bit@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_free
LBB0_4:
Lloh4:
	adrp	x21, _xkb_map@GOTPAGE
Lloh5:
	ldr	x21, [x21, _xkb_map@GOTPAGEOFF]
	ldr	x0, [x21]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_xkb_keymap_unref
LBB0_6:
Lloh6:
	adrp	x22, _xkb_ctx@GOTPAGE
Lloh7:
	ldr	x22, [x22, _xkb_ctx@GOTPAGEOFF]
	ldr	x0, [x22]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_xkb_context_unref
LBB0_8:
Lloh8:
	adrp	x23, _xkb_state@GOTPAGE
Lloh9:
	ldr	x23, [x23, _xkb_state@GOTPAGEOFF]
	ldr	x0, [x23]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_xkb_state_unref
LBB0_10:
	str	xzr, [x19]
	str	xzr, [x20]
	str	xzr, [x21]
	str	xzr, [x22]
	str	xzr, [x23]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_mod_map_idx,8,3                ; @mod_map_idx
	.comm	_mod_map_bit,8,3                ; @mod_map_bit
	.comm	_xkb_map,8,3                    ; @xkb_map
	.comm	_xkb_ctx,8,3                    ; @xkb_ctx
	.comm	_xkb_state,8,3                  ; @xkb_state
.subsections_via_symbols
