	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfcomm_check_accept
_rfcomm_check_accept:                   ## @rfcomm_check_accept
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_rfcomm_check_security
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$0, 24(%rbx)
	je	LBB0_2
## %bb.4:
	movq	_RFCOMM_DEFER_SETUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movq	_RFCOMM_AUTH_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rfcomm_dlc_set_timer
	movq	%rbx, %rdi
	callq	_rfcomm_dlc_lock
	movq	_BT_CONNECT2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*8(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rfcomm_dlc_unlock              ## TAILCALL
LBB0_3:
	movq	_RFCOMM_AUTH_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movq	_RFCOMM_AUTH_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rfcomm_dlc_set_timer           ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rfcomm_dlc_accept              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RFCOMM_DEFER_SETUP,4,2         ## @RFCOMM_DEFER_SETUP
	.comm	_RFCOMM_AUTH_TIMEOUT,4,2        ## @RFCOMM_AUTH_TIMEOUT
	.comm	_BT_CONNECT2,4,2                ## @BT_CONNECT2
	.comm	_RFCOMM_AUTH_PENDING,4,2        ## @RFCOMM_AUTH_PENDING
	.no_dead_strip	_rfcomm_check_accept
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfcomm_check_accept
_rfcomm_check_accept:                   ; @rfcomm_check_accept
	.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
	bl	_rfcomm_check_security
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _RFCOMM_DEFER_SETUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RFCOMM_DEFER_SETUP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
Lloh3:
	adrp	x8, _RFCOMM_AUTH_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RFCOMM_AUTH_TIMEOUT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rfcomm_dlc_set_timer
	mov	x0, x19
	bl	_rfcomm_dlc_lock
Lloh6:
	adrp	x8, _BT_CONNECT2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BT_CONNECT2@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	x8, [x19, #8]
	mov	x0, x19
	mov	w1, #0
	blr	x8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rfcomm_dlc_unlock
LBB0_3:
Lloh9:
	adrp	x8, _RFCOMM_AUTH_PENDING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RFCOMM_AUTH_PENDING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
Lloh12:
	adrp	x8, _RFCOMM_AUTH_TIMEOUT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RFCOMM_AUTH_TIMEOUT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rfcomm_dlc_set_timer
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rfcomm_dlc_accept
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RFCOMM_DEFER_SETUP,4,2         ; @RFCOMM_DEFER_SETUP
	.comm	_RFCOMM_AUTH_TIMEOUT,4,2        ; @RFCOMM_AUTH_TIMEOUT
	.comm	_BT_CONNECT2,4,2                ; @BT_CONNECT2
	.comm	_RFCOMM_AUTH_PENDING,4,2        ; @RFCOMM_AUTH_PENDING
	.no_dead_strip	_rfcomm_check_accept
.subsections_via_symbols
