	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfcomm_send_test
_rfcomm_send_test:                      ## @rfcomm_send_test
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$126, %ecx
	jl	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movl	%ecx, %r12d
	movq	%rdx, %r15
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_BT_DBG
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	___addr
	movb	%al, -102(%rbp)
	movq	_RFCOMM_UIH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	___ctrl
	movb	%al, -101(%rbp)
	leal	(%r12,%r12), %eax
	leal	5(%rax), %ecx
	movb	%cl, -100(%rbp)
	addl	%r13d, %r13d
	andl	$2, %r13d
	movq	_RFCOMM_TEST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%r13,%rcx,4), %ecx
	orb	$1, %cl
	movb	%cl, -99(%rbp)
	orb	$1, %al
	movb	%al, -98(%rbp)
	leaq	-102(%rbp), %rbx
	movq	%rbx, %rdi
	callq	___fcs
	movb	%al, -97(%rbp)
	movq	%rbx, -96(%rbp)
	movl	$5, -88(%rbp)
	movq	%r15, -80(%rbp)
	movl	%r12d, -72(%rbp)
	leaq	-97(%rbp), %rax
	movq	%rax, -64(%rbp)
	movl	$1, -56(%rbp)
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	addl	$6, %r12d
	leaq	-96(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$3, %ecx
	movl	%r12d, %r8d
	callq	_kernel_sendmsg
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p cr %d"

	.comm	_RFCOMM_UIH,4,2                 ## @RFCOMM_UIH
	.comm	_RFCOMM_TEST,4,2                ## @RFCOMM_TEST
	.no_dead_strip	_rfcomm_send_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfcomm_send_test
_rfcomm_send_test:                      ; @rfcomm_send_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	cmp	w3, #126
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x20, [x0, #8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	mov	x2, x22
	bl	_BT_DBG
	ldr	w0, [x23]
	mov	w1, #0
	bl	___addr
	strb	w0, [sp, #11]
Lloh8:
	adrp	x8, _RFCOMM_UIH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RFCOMM_UIH@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	w1, #0
	bl	___ctrl
	strb	w0, [sp, #12]
	lsl	w8, w19, #1
	add	w8, w8, #5
	strb	w8, [sp, #13]
	ubfiz	w8, w22, #1, #1
Lloh11:
	adrp	x9, _RFCOMM_TEST@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RFCOMM_TEST@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	bfi	w8, w9, #2, #30
	orr	w8, w8, #0x1
	strb	w8, [sp, #14]
	mov	w22, #1
	mov	w8, #1
	bfi	w8, w19, #1, #31
	strb	w8, [sp, #15]
	add	x23, sp, #11
	add	x0, sp, #11
	bl	___fcs
	strb	w0, [sp, #10]
	str	x23, [sp, #24]
	mov	w8, #5
	str	w8, [sp, #32]
	str	x21, [sp, #40]
	str	w19, [sp, #48]
	add	x8, sp, #10
	str	x8, [sp, #56]
	str	w22, [sp, #64]
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	w4, w19, #6
	add	x1, sp, #16
	add	x2, sp, #24
	mov	x0, x20
	mov	w3, #3
	bl	_kernel_sendmsg
LBB0_3:
	ldur	x8, [x29, #-56]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p cr %d"

	.comm	_RFCOMM_UIH,4,2                 ; @RFCOMM_UIH
	.comm	_RFCOMM_TEST,4,2                ; @RFCOMM_TEST
	.no_dead_strip	_rfcomm_send_test
.subsections_via_symbols
