	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcsp_open
_bcsp_open:                             ## @bcsp_open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_BT_DBG
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, (%r14)
	leaq	32(%rax), %rdi
	callq	_skb_queue_head_init
	leaq	28(%rbx), %rdi
	callq	_skb_queue_head_init
	leaq	24(%rbx), %rdi
	callq	_skb_queue_head_init
	movq	%rbx, %rdi
	addq	$8, %rdi
	callq	_init_timer
	movq	_bcsp_timed_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	%r14, 8(%rbx)
	movq	_BCSP_W4_PKT_DELIMITER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_txcrc@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	$1, (%rbx)
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hu %p"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_bcsp_timed_event,4,2           ## @bcsp_timed_event
	.comm	_BCSP_W4_PKT_DELIMITER,4,2      ## @BCSP_W4_PKT_DELIMITER
	.comm	_txcrc,8,3                      ## @txcrc
	.no_dead_strip	_bcsp_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcsp_open
_bcsp_open:                             ; @bcsp_open
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_BT_DBG
Lloh2:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	str	x0, [x19]
	add	x0, x0, #32
	bl	_skb_queue_head_init
	add	x0, x20, #28
	bl	_skb_queue_head_init
	add	x0, x20, #24
	bl	_skb_queue_head_init
	add	x0, x20, #8
	bl	_init_timer
Lloh5:
	adrp	x8, _bcsp_timed_event@GOTPAGE
Lloh6:
	ldr	x8, [x8, _bcsp_timed_event@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20, #16]
Lloh8:
	adrp	x8, _BCSP_W4_PKT_DELIMITER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BCSP_W4_PKT_DELIMITER@GOTPAGEOFF]
	str	x19, [x20, #8]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x20, #4]
Lloh11:
	adrp	x8, _txcrc@GOTPAGE
Lloh12:
	ldr	x8, [x8, _txcrc@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_5
LBB0_3:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hu %p"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_bcsp_timed_event,4,2           ; @bcsp_timed_event
	.comm	_BCSP_W4_PKT_DELIMITER,4,2      ; @BCSP_W4_PKT_DELIMITER
	.comm	_txcrc,8,3                      ; @txcrc
	.no_dead_strip	_bcsp_open
.subsections_via_symbols
