	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gigaset_initdriver             ## -- Begin function gigaset_initdriver
	.p2align	4, 0x90
_gigaset_initdriver:                    ## @gigaset_initdriver
	.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	%r9, %rbx
	movq	%r8, %r14
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	movl	%edi, %r15d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$88, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r12
	movq	$0, 80(%rax)
	movl	%r15d, (%rax)
	movl	%r13d, 4(%rax)
	leaq	72(%rax), %rdi
	callq	_spin_lock_init
	movq	$0, 64(%r12)
	movq	%r14, 32(%r12)
	movq	%rbx, 56(%r12)
	movq	%r12, %r15
	addq	$24, %r15
	movq	%r15, %rdi
	callq	_INIT_LIST_HEAD
	imull	$88, %r13d, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movq	%rax, 16(%r12)
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	testl	%r13d, %r13d
	je	LBB0_6
## %bb.3:
	movl	%r13d, %r14d
	decq	%r14
	movl	$48, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, (%rax,%rbx)
	movq	%r12, -8(%rax,%rbx)
	movq	32(%r12), %rcx
	movq	%rcx, -16(%rax,%rbx)
	movl	%r13d, -40(%rax,%rbx)
	leaq	(%rax,%rbx), %rdi
	addq	$-20, %rdi
	callq	_mutex_init
	cmpq	%r13, %r14
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r12), %rax
	addq	$88, %rbx
	incq	%r13
	jmp	LBB0_4
LBB0_6:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_gigaset_if_initdriver
	movq	_driver_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_drivers@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_list_add
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_9
LBB0_7:
	xorl	%edi, %edi
	callq	_kfree
	movq	%r12, %rdi
	callq	_kfree
LBB0_8:
	xorl	%r12d, %r12d
LBB0_9:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_driver_lock,4,2                ## @driver_lock
	.comm	_drivers,4,2                    ## @drivers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gigaset_initdriver             ; -- Begin function gigaset_initdriver
	.p2align	2
_gigaset_initdriver:                    ; @gigaset_initdriver
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x5
	mov	x22, x4
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x25, x0
Lloh0:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	w27, #88
	mov	w0, #88
	bl	_kmalloc
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.1:
	str	xzr, [x19, #80]
	add	x0, x19, #72
	stp	w25, w23, [x19]
	bl	_spin_lock_init
	str	x22, [x19, #32]
	add	x22, x19, #24
	stp	x24, xzr, [x19, #56]
	mov	x0, x22
	bl	_INIT_LIST_HEAD
	mul	w0, w23, w27
	ldr	w1, [x26]
	bl	_kmalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_7
; %bb.2:
	cbz	w23, LBB0_6
; %bb.3:
	str	xzr, [x0, #48]
	ldr	x8, [x19, #32]
	stp	x8, x19, [x0, #32]
	str	wzr, [x0, #8]
	add	x0, x0, #28
	bl	_mutex_init
	cmp	w23, #1
	b.eq	LBB0_6
; %bb.4:
	mov	x24, #0
	mov	w23, w23
	mov	w25, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x8, x8, x24
	str	xzr, [x8, #136]
	ldr	x9, [x19, #32]
	stp	x9, x19, [x8, #120]
	str	w25, [x8, #96]
	add	x0, x8, #116
	bl	_mutex_init
	add	x25, x25, #1
	add	x24, x24, #88
	cmp	x23, x25
	b.ne	LBB0_5
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_gigaset_if_initdriver
Lloh2:
	adrp	x20, _driver_lock@GOTPAGE
Lloh3:
	ldr	x20, [x20, _driver_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh4:
	adrp	x1, _drivers@GOTPAGE
Lloh5:
	ldr	x1, [x1, _drivers@GOTPAGEOFF]
	mov	x0, x22
	bl	_list_add
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	b	LBB0_8
LBB0_7:
	bl	_kfree
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_driver_lock,4,2                ; @driver_lock
	.comm	_drivers,4,2                    ; @drivers
.subsections_via_symbols
