	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function gigaset_initcshw
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_gigaset_initcshw:                      ## @gigaset_initcshw
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$80, %edi
	callq	_kmalloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_IP_MSGSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	callq	_kmalloc
	movq	%rax, 72(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	32(%rbx), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rbx)
	movups	%xmm0, 40(%rbx)
	callq	_spin_lock_init
	leaq	12(%rbx), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	callq	_init_timer
	leaq	8(%rbx), %rdi
	callq	_init_timer
	movq	%rbx, %rdi
	addq	$4, %rdi
	callq	_init_timer
	movq	%rbx, %rdi
	callq	_init_waitqueue_head
	movl	$1, %eax
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory\n"

	.comm	_IP_MSGSIZE,4,2                 ## @IP_MSGSIZE
	.no_dead_strip	_gigaset_initcshw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gigaset_initcshw
_gigaset_initcshw:                      ; @gigaset_initcshw
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w0, #80
	bl	_kmalloc
	str	x0, [x20]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x8, _IP_MSGSIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IP_MSGSIZE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w1, [x21]
	bl	_kmalloc
	str	x0, [x19, #72]
	cbz	x0, LBB0_3
; %bb.2:
	add	x0, x19, #32
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #56]
	stur	q0, [x19, #40]
	bl	_spin_lock_init
	add	x0, x19, #12
	stp	xzr, xzr, [x19, #16]
	bl	_init_timer
	add	x0, x19, #8
	bl	_init_timer
	add	x0, x19, #4
	bl	_init_timer
	mov	x0, x19
	bl	_init_waitqueue_head
	mov	w0, #1
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_kfree
LBB0_4:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory\n"

	.comm	_IP_MSGSIZE,4,2                 ; @IP_MSGSIZE
	.no_dead_strip	_gigaset_initcshw
.subsections_via_symbols
