	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gigaset_initbcs
_gigaset_initbcs:                       ## @gigaset_initbcs
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	$0, 112(%rdi)
	addq	$104, %rdi
	callq	_skb_queue_head_init
	xorps	%xmm0, %xmm0
	movups	%xmm0, 80(%rbx)
	movq	$0, 96(%rbx)
	movq	_DEBUG_INIT@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_gig_dbg
	leaq	72(%rbx), %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	$-1, %ecx
	callq	_gigaset_at_init
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_gig_dbg
	movq	_PPP_INITFCS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movl	$0, 56(%rbx)
	cmpq	$0, 8(%r15)
	je	LBB0_2
## %bb.1:
	movq	_INS_skip_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	$0, 8(%rbx)
	jmp	LBB0_5
LBB0_2:
	movq	_SBUFSIZE@GOTPCREL(%rip), %rax
	movq	_HW_HDR_LEN@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	addq	(%rax), %rdi
	callq	_dev_alloc_skb
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	(%r13), %rsi
	movq	%rax, %rdi
	callq	_skb_reserve
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_err
	movq	_INS_skip_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 56(%rbx)
LBB0_5:
	movl	%r14d, (%rbx)
	movq	%r15, 48(%rbx)
	movl	$1, 4(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	movq	8(%r15), %rax
	movq	%rax, 24(%rbx)
	movq	_AT_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_12
## %bb.6:
	leaq	-1(%rdx), %rcx
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_8
## %bb.7:
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_8:
	andl	$-4, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rsi
	movq	$0, (%rsi,%rcx,8)
	movq	16(%rbx), %rsi
	movq	$0, 8(%rsi,%rcx,8)
	movq	16(%rbx), %rsi
	movq	$0, 16(%rsi,%rcx,8)
	movq	16(%rbx), %rsi
	movq	$0, 24(%rsi,%rcx,8)
	addq	$4, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_9
LBB0_10:
	testq	%rax, %rax
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rdx
	movq	$0, (%rdx,%rcx,8)
	incq	%rcx
	decq	%rax
	jne	LBB0_11
LBB0_12:
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_gig_dbg
	movq	(%r15), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	testq	%rax, %rax
	jne	LBB0_16
## %bb.13:
	movl	(%r12), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_gig_dbg
	movl	(%r12), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_gig_dbg
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_dev_kfree_skb
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG_INIT,4,2                 ## @DEBUG_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting up bcs[%d]->at_state"

L_.str.1:                               ## @.str.1
	.asciz	"allocating bcs[%d]->skb"

	.comm	_PPP_INITFCS,4,2                ## @PPP_INITFCS
	.comm	_INS_skip_frame,4,2             ## @INS_skip_frame
	.comm	_SBUFSIZE,8,3                   ## @SBUFSIZE
	.comm	_HW_HDR_LEN,8,3                 ## @HW_HDR_LEN
L_.str.2:                               ## @.str.2
	.asciz	"out of memory\n"

	.comm	_AT_NUM,4,2                     ## @AT_NUM
L_.str.3:                               ## @.str.3
	.asciz	"  setting up bcs[%d]->hw"

L_.str.4:                               ## @.str.4
	.asciz	"  failed"

L_.str.5:                               ## @.str.5
	.asciz	"  freeing bcs[%d]->skb"

	.no_dead_strip	_gigaset_initbcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gigaset_initbcs
_gigaset_initbcs:                       ; @gigaset_initbcs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	str	xzr, [x0, #112]
	add	x0, x0, #104
	bl	_skb_queue_head_init
	stp	xzr, xzr, [x19, #88]
	str	xzr, [x19, #80]
Lloh0:
	adrp	x22, _DEBUG_INIT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DEBUG_INIT@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x23, x20
	str	x23, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_gig_dbg
	add	x0, x19, #72
	mov	x1, x19
	mov	x2, x21
	mov	w3, #-1
	bl	_gigaset_at_init
	ldr	w0, [x22]
	str	x23, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_gig_dbg
Lloh6:
	adrp	x8, _PPP_INITFCS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PPP_INITFCS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	wzr, w8, [x19, #56]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _INS_skip_frame@GOTPAGE
Lloh10:
	ldr	x8, [x8, _INS_skip_frame@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #56]
	str	xzr, [x19, #8]
	b	LBB0_5
LBB0_2:
Lloh12:
	adrp	x8, _SBUFSIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SBUFSIZE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x23, _HW_HDR_LEN@GOTPAGE
Lloh16:
	ldr	x23, [x23, _HW_HDR_LEN@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x0, x9, x8
	bl	_dev_alloc_skb
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x1, [x23]
	bl	_skb_reserve
	b	LBB0_5
LBB0_4:
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
Lloh19:
	adrp	x8, _INS_skip_frame@GOTPAGE
Lloh20:
	ldr	x8, [x8, _INS_skip_frame@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [x19, #56]
	orr	w8, w9, w8
	str	w8, [x19, #56]
LBB0_5:
	stp	xzr, x21, [x19, #40]
	mov	w8, #1
	stp	w20, w8, [x19]
	str	xzr, [x19, #32]
	ldr	x8, [x21, #8]
	str	x8, [x19, #24]
Lloh22:
	adrp	x8, _AT_NUM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AT_NUM@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x8, #0
	lsl	x9, x9, #3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x19, #16]
	str	xzr, [x10, x8]
	add	x8, x8, #8
	cmp	x9, x8
	b.ne	LBB0_7
LBB0_8:
	ldr	w0, [x22]
	str	x20, [sp]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_gig_dbg
	ldr	x8, [x21]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbnz	x0, LBB0_12
; %bb.9:
	ldr	w0, [x22]
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_gig_dbg
	ldr	w0, [x22]
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x20, [sp]
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_gig_dbg
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_dev_kfree_skb
LBB0_11:
	mov	x19, #0
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG_INIT,4,2                 ; @DEBUG_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting up bcs[%d]->at_state"

l_.str.1:                               ; @.str.1
	.asciz	"allocating bcs[%d]->skb"

	.comm	_PPP_INITFCS,4,2                ; @PPP_INITFCS
	.comm	_INS_skip_frame,4,2             ; @INS_skip_frame
	.comm	_SBUFSIZE,8,3                   ; @SBUFSIZE
	.comm	_HW_HDR_LEN,8,3                 ; @HW_HDR_LEN
l_.str.2:                               ; @.str.2
	.asciz	"out of memory\n"

	.comm	_AT_NUM,4,2                     ; @AT_NUM
l_.str.3:                               ; @.str.3
	.asciz	"  setting up bcs[%d]->hw"

l_.str.4:                               ; @.str.4
	.asciz	"  failed"

l_.str.5:                               ; @.str.5
	.asciz	"  freeing bcs[%d]->skb"

	.no_dead_strip	_gigaset_initbcs
.subsections_via_symbols
