	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfcomm_queue_disc
_rfcomm_queue_disc:                     ## @rfcomm_queue_disc
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	8(%rdi), %edx
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_BT_DBG
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$16, %esi
	callq	___skb_put
	movq	%rax, %rbx
	movl	4(%r12), %eax
	movl	%eax, 12(%rbx)
	movq	_RFCOMM_DISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	___ctrl
	movl	%eax, 8(%rbx)
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	___len8
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	___fcs2
	movl	%eax, (%rbx)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_skb_queue_tail
	movq	_RFCOMM_SCHED_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rfcomm_schedule
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_3:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dlc %p dlci %d"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_RFCOMM_DISC,4,2                ## @RFCOMM_DISC
	.comm	_RFCOMM_SCHED_TX,4,2            ## @RFCOMM_SCHED_TX
	.no_dead_strip	_rfcomm_queue_disc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfcomm_queue_disc
_rfcomm_queue_disc:                     ; @rfcomm_queue_disc
	.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	x19, x0
	ldr	w2, [x0, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_BT_DBG
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_alloc_skb
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	mov	w1, #16
	bl	___skb_put
	mov	x21, x0
	ldr	w8, [x19, #4]
	str	w8, [x0, #12]
Lloh5:
	adrp	x8, _RFCOMM_DISC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RFCOMM_DISC@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	w1, #1
	bl	___ctrl
	str	w0, [x21, #8]
	mov	w0, #0
	bl	___len8
	str	w0, [x21, #4]
	mov	x0, x21
	bl	___fcs2
	str	w0, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_skb_queue_tail
Lloh8:
	adrp	x8, _RFCOMM_SCHED_TX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RFCOMM_SCHED_TX@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_rfcomm_schedule
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dlc %p dlci %d"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_RFCOMM_DISC,4,2                ; @RFCOMM_DISC
	.comm	_RFCOMM_SCHED_TX,4,2            ; @RFCOMM_SCHED_TX
	.no_dead_strip	_rfcomm_queue_disc
.subsections_via_symbols
