	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hci_create_connection
_hci_create_connection:                 ## @hci_create_connection
	.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	$568, %rsp                      ## imm = 0x238
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	movl	%edi, -596(%rbp)                ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-592(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_NG_HCI_PKT_DM1@GOTPCREL(%rip), %rax
	movq	_NG_HCI_PKT_DH1@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	orl	(%rax), %edi
	movq	_NG_HCI_PKT_DM3@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_NG_HCI_PKT_DH3@GOTPCREL(%rip), %r12
	orl	(%r12), %edi
	movq	_NG_HCI_PKT_DM5@GOTPCREL(%rip), %r14
	orl	(%r14), %edi
	callq	_htole16
	movl	%eax, -592(%rbp)
	movq	_NG_HCI_SCAN_REP_MODE0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -588(%rbp)
	movq	_NG_HCI_MANDATORY_PAGE_SCAN_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -584(%rbp)
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, -580(%rbp)
	decl	%ebx
	cmpl	$5, %ebx
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	40(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-564(%rbp), %rdx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.4:
	xorl	%eax, %eax
	cmpl	$0, -564(%rbp)
	setne	%al
	movl	%eax, -576(%rbp)
LBB0_5:
	movq	32(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-564(%rbp), %rdx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.6:
	movzwl	-564(%rbp), %edi
	movl	%edi, -580(%rbp)
	callq	_htole16
	movl	%eax, -580(%rbp)
LBB0_7:
	movq	24(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-564(%rbp), %rdx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.8:
	movl	-564(%rbp), %eax
	testl	%eax, %eax
	js	LBB0_3
## %bb.9:
	cmpl	$4, %eax
	jge	LBB0_3
## %bb.10:
	movl	%eax, -584(%rbp)
LBB0_11:
	movq	16(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-564(%rbp), %rdx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.12:
	movl	-564(%rbp), %eax
	testl	%eax, %eax
	js	LBB0_3
## %bb.13:
	cmpl	$3, %eax
	jge	LBB0_3
## %bb.14:
	movl	%eax, -588(%rbp)
LBB0_15:
	movq	8(%r15), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-564(%rbp), %rdx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.16:
	movl	(%r13), %eax
	movq	_NG_HCI_PKT_DM1@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_NG_HCI_PKT_DM3@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	(%r12), %eax
	orl	(%r14), %eax
	andl	-564(%rbp), %eax
	movl	%eax, -564(%rbp)
	je	LBB0_3
## %bb.17:
	movzwl	%ax, %edi
	movl	%edi, -592(%rbp)
	callq	_htole16
	movl	%eax, -592(%rbp)
LBB0_18:
	movq	(%r15), %rdi
	leaq	-572(%rbp), %r14
	movq	%r14, %rsi
	callq	_bt_aton
	testl	%eax, %eax
	movl	-596(%rbp), %ebx                ## 4-byte Reload
	jne	LBB0_21
## %bb.19:
	movq	(%r15), %rdi
	callq	_bt_gethostbyname
	testq	%rax, %rax
	je	LBB0_3
## %bb.20:
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
LBB0_21:
	movl	$512, -564(%rbp)                ## imm = 0x200
	movq	_NG_HCI_OGF_LINK_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NG_HCI_OCF_CREATE_CON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_NG_HCI_OPCODE
	leaq	-592(%rbp), %rdx
	leaq	-560(%rbp), %r8
	leaq	-564(%rbp), %r9
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$24, %ecx
	callq	_hci_request
	movq	_ERROR@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	je	LBB0_34
## %bb.22:
	cmpb	$0, -560(%rbp)
	je	LBB0_23
## %bb.36:
	movq	_FAILED@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_3:
	movq	_USAGE@GOTPCREL(%rip), %rax
LBB0_33:
	movl	(%rax), %eax
LBB0_34:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_37
## %bb.35:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$568, %rsp                      ## imm = 0x238
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	leaq	-560(%rbp), %r15
	leaq	-564(%rbp), %r14
	movq	_NG_HCI_EVENT_CON_COMPL@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	$512, -564(%rbp)                ## imm = 0x200
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_hci_recv
	movq	(%r13), %rcx
	cmpq	%rcx, %rax
	je	LBB0_34
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	cmpl	$7, -564(%rbp)
	jbe	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	-560(%rbp), %rax
	cmpq	(%r12), %rax
	jne	LBB0_24
## %bb.28:
	movl	-552(%rbp), %r14d
	movq	_stdout@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	testl	%r14d, %r14d
	je	LBB0_30
## %bb.29:
	movl	%r14d, %edi
	callq	_hci_status2str
	movl	-552(%rbp), %ecx
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_31
LBB0_26:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rdx
	movl	%eax, (%rdx)
	movl	%ecx, %eax
	jmp	LBB0_34
LBB0_30:
	leaq	-540(%rbp), %rdi
	callq	_hci_bdaddr2str
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %ebx
	movl	-544(%rbp), %edi
	callq	_le16toh
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r15), %ebx
	movl	-548(%rbp), %edi
	xorl	%esi, %esi
	callq	_hci_encrypt2str
	movl	-548(%rbp), %ecx
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
                                        ## implicit-def: $eax
LBB0_31:
	testl	%r14d, %r14d
	jne	LBB0_34
## %bb.32:
	movq	_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_37:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_18
	.long	L0_0_set_15
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_NG_HCI_PKT_DM1,4,2             ## @NG_HCI_PKT_DM1
	.comm	_NG_HCI_PKT_DH1,4,2             ## @NG_HCI_PKT_DH1
	.comm	_NG_HCI_PKT_DM3,4,2             ## @NG_HCI_PKT_DM3
	.comm	_NG_HCI_PKT_DH3,4,2             ## @NG_HCI_PKT_DH3
	.comm	_NG_HCI_PKT_DM5,4,2             ## @NG_HCI_PKT_DM5
	.comm	_NG_HCI_SCAN_REP_MODE0,4,2      ## @NG_HCI_SCAN_REP_MODE0
	.comm	_NG_HCI_MANDATORY_PAGE_SCAN_MODE,4,2 ## @NG_HCI_MANDATORY_PAGE_SCAN_MODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

	.comm	_USAGE,4,2                      ## @USAGE
L_.str.1:                               ## @.str.1
	.asciz	"%x"

	.comm	_NG_HCI_OGF_LINK_CONTROL,4,2    ## @NG_HCI_OGF_LINK_CONTROL
	.comm	_NG_HCI_OCF_CREATE_CON,4,2      ## @NG_HCI_OCF_CREATE_CON
	.comm	_ERROR,8,3                      ## @ERROR
	.comm	_FAILED,4,2                     ## @FAILED
	.comm	_EIO,4,2                        ## @EIO
	.comm	_errno,4,2                      ## @errno
	.comm	_NG_HCI_EVENT_CON_COMPL,8,3     ## @NG_HCI_EVENT_CON_COMPL
	.comm	_stdout,4,2                     ## @stdout
L_.str.2:                               ## @.str.2
	.asciz	"Status: %s [%#02x]\n"

L_.str.3:                               ## @.str.3
	.asciz	"BD_ADDR: %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"Connection handle: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"Encryption mode: %s [%d]\n"

	.comm	_OK,4,2                         ## @OK
	.no_dead_strip	_hci_create_connection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function hci_create_connection
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_hci_create_connection:                 ; @hci_create_connection
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #576
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh3:
	adrp	x22, _NG_HCI_PKT_DM1@GOTPAGE
Lloh4:
	ldr	x22, [x22, _NG_HCI_PKT_DM1@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh5:
	adrp	x23, _NG_HCI_PKT_DH1@GOTPAGE
Lloh6:
	ldr	x23, [x23, _NG_HCI_PKT_DH1@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w9, w8
Lloh7:
	adrp	x24, _NG_HCI_PKT_DM3@GOTPAGE
Lloh8:
	ldr	x24, [x24, _NG_HCI_PKT_DM3@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w8, w8, w9
Lloh9:
	adrp	x25, _NG_HCI_PKT_DH3@GOTPAGE
Lloh10:
	ldr	x25, [x25, _NG_HCI_PKT_DH3@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w8, w8, w9
Lloh11:
	adrp	x26, _NG_HCI_PKT_DM5@GOTPAGE
Lloh12:
	ldr	x26, [x26, _NG_HCI_PKT_DM5@GOTPAGEOFF]
	ldr	w9, [x26]
	orr	w0, w8, w9
	bl	_htole16
Lloh13:
	adrp	x8, _NG_HCI_SCAN_REP_MODE0@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NG_HCI_SCAN_REP_MODE0@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	stp	w0, w8, [sp, #24]
Lloh16:
	adrp	x8, _NG_HCI_MANDATORY_PAGE_SCAN_MODE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NG_HCI_MANDATORY_PAGE_SCAN_MODE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [sp, #32]
Lloh19:
	adrp	x8, lCPI0_0@PAGE
Lloh20:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [sp, #36]
	sub	w8, w21, #1
	cmp	w8, #5
	b.hi	LBB0_23
; %bb.1:
Lloh21:
	adrp	x9, lJTI0_0@PAGE
Lloh22:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x0, [x20, #40]
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #52
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_23
; %bb.3:
	ldr	w8, [sp, #52]
	cmp	w8, #0
	cset	w8, ne
	str	w8, [sp, #40]
LBB0_4:
	ldr	x0, [x20, #32]
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #52
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_23
; %bb.5:
	ldrh	w0, [sp, #52]
	str	w0, [sp, #36]
	bl	_htole16
	str	w0, [sp, #36]
LBB0_6:
	ldr	x0, [x20, #24]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #52
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_23
; %bb.7:
	ldr	w8, [sp, #52]
	tbnz	w8, #31, LBB0_23
; %bb.8:
	cmp	w8, #4
	b.ge	LBB0_23
; %bb.9:
	str	w8, [sp, #32]
LBB0_10:
	ldr	x0, [x20, #16]
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #52
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_23
; %bb.11:
	ldr	w8, [sp, #52]
	tbnz	w8, #31, LBB0_23
; %bb.12:
	cmp	w8, #3
	b.ge	LBB0_23
; %bb.13:
	str	w8, [sp, #28]
LBB0_14:
	ldr	x0, [x20, #8]
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #52
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_23
; %bb.15:
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	ldr	w9, [x24]
	orr	w8, w8, w9
	ldr	w9, [x25]
	orr	w8, w8, w9
	ldr	w9, [x26]
	orr	w8, w8, w9
	ldr	w9, [sp, #52]
	ands	w8, w9, w8
	str	w8, [sp, #52]
	b.eq	LBB0_23
; %bb.16:
	and	w0, w8, #0xffff
	str	w0, [sp, #24]
	bl	_htole16
	str	w0, [sp, #24]
LBB0_17:
	ldr	x0, [x20]
	add	x8, sp, #24
	add	x21, x8, #20
	mov	x1, x21
	bl	_bt_aton
	cbnz	w0, LBB0_20
; %bb.18:
	ldr	x0, [x20]
	bl	_bt_gethostbyname
	cbz	x0, LBB0_23
; %bb.19:
	ldr	w1, [x0]
	mov	x0, x21
	mov	w2, #4
	bl	_memcpy
LBB0_20:
	mov	w8, #512
	str	w8, [sp, #52]
Lloh33:
	adrp	x8, _NG_HCI_OGF_LINK_CONTROL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _NG_HCI_OGF_LINK_CONTROL@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x8, _NG_HCI_OCF_CREATE_CON@GOTPAGE
Lloh37:
	ldr	x8, [x8, _NG_HCI_OCF_CREATE_CON@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	bl	_NG_HCI_OPCODE
	mov	x1, x0
	add	x2, sp, #24
	add	x4, sp, #56
	add	x5, sp, #52
	mov	x0, x19
	mov	w3, #24
	bl	_hci_request
Lloh39:
	adrp	x20, _ERROR@GOTPAGE
Lloh40:
	ldr	x20, [x20, _ERROR@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_25
; %bb.21:
	ldrb	w8, [sp, #56]
	cbz	w8, LBB0_27
; %bb.22:
Lloh41:
	adrp	x8, _FAILED@GOTPAGE
Lloh42:
	ldr	x8, [x8, _FAILED@GOTPAGEOFF]
	b	LBB0_24
LBB0_23:
Lloh43:
	adrp	x8, _USAGE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _USAGE@GOTPAGEOFF]
LBB0_24:
	ldr	w0, [x8]
LBB0_25:
	ldur	x8, [x29, #-88]
Lloh45:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh46:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_37
; %bb.26:
                                        ; kill: def $w0 killed $w0 killed $x0
	add	sp, sp, #576
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_27:
	mov	w21, #512
Lloh48:
	adrp	x22, _NG_HCI_EVENT_CON_COMPL@GOTPAGE
Lloh49:
	ldr	x22, [x22, _NG_HCI_EVENT_CON_COMPL@GOTPAGEOFF]
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	str	w21, [sp, #52]
	add	x1, sp, #56
	add	x2, sp, #52
	mov	x0, x19
	bl	_hci_recv
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_33
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	w9, [sp, #52]
	cmp	w9, #7
	b.ls	LBB0_34
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [sp, #56]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_28
; %bb.31:
	ldr	w19, [sp, #64]
Lloh50:
	adrp	x21, _stdout@GOTPAGE
Lloh51:
	ldr	x21, [x21, _stdout@GOTPAGEOFF]
	ldr	w20, [x21]
	cbz	w19, LBB0_35
; %bb.32:
	mov	x0, x19
	bl	_hci_status2str
	ldr	w8, [sp, #64]
	stp	x0, x8, [sp]
Lloh52:
	adrp	x1, l_.str.2@PAGE
Lloh53:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_fprintf
Lloh54:
	adrp	x8, _FAILED@GOTPAGE
Lloh55:
	ldr	x8, [x8, _FAILED@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	b	LBB0_36
LBB0_33:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	b	LBB0_25
LBB0_34:
Lloh57:
	adrp	x9, _EIO@GOTPAGE
Lloh58:
	ldr	x9, [x9, _EIO@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
Lloh60:
	adrp	x10, _errno@GOTPAGE
Lloh61:
	ldr	x10, [x10, _errno@GOTPAGEOFF]
Lloh62:
	str	w9, [x10]
	mov	x0, x8
	b	LBB0_25
LBB0_35:
	add	x8, sp, #56
	add	x0, x8, #20
	bl	_hci_bdaddr2str
	str	x0, [sp]
Lloh63:
	adrp	x1, l_.str.3@PAGE
Lloh64:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_fprintf
	ldr	w20, [x21]
	ldr	w0, [sp, #72]
	bl	_le16toh
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh65:
	adrp	x1, l_.str.4@PAGE
Lloh66:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_fprintf
	ldr	w20, [x21]
	ldr	w0, [sp, #68]
	mov	w1, #0
	bl	_hci_encrypt2str
	ldr	w8, [sp, #68]
	stp	x0, x8, [sp]
Lloh67:
	adrp	x1, l_.str.5@PAGE
Lloh68:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_fprintf
                                        ; implicit-def: $w8
LBB0_36:
Lloh69:
	adrp	x9, _OK@GOTPAGE
Lloh70:
	ldr	x9, [x9, _OK@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	cmp	w19, #0
	csel	w0, w9, w8, eq
	b	LBB0_25
LBB0_37:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotStr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_NG_HCI_PKT_DM1,4,2             ; @NG_HCI_PKT_DM1
	.comm	_NG_HCI_PKT_DH1,4,2             ; @NG_HCI_PKT_DH1
	.comm	_NG_HCI_PKT_DM3,4,2             ; @NG_HCI_PKT_DM3
	.comm	_NG_HCI_PKT_DH3,4,2             ; @NG_HCI_PKT_DH3
	.comm	_NG_HCI_PKT_DM5,4,2             ; @NG_HCI_PKT_DM5
	.comm	_NG_HCI_SCAN_REP_MODE0,4,2      ; @NG_HCI_SCAN_REP_MODE0
	.comm	_NG_HCI_MANDATORY_PAGE_SCAN_MODE,4,2 ; @NG_HCI_MANDATORY_PAGE_SCAN_MODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

	.comm	_USAGE,4,2                      ; @USAGE
l_.str.1:                               ; @.str.1
	.asciz	"%x"

	.comm	_NG_HCI_OGF_LINK_CONTROL,4,2    ; @NG_HCI_OGF_LINK_CONTROL
	.comm	_NG_HCI_OCF_CREATE_CON,4,2      ; @NG_HCI_OCF_CREATE_CON
	.comm	_ERROR,8,3                      ; @ERROR
	.comm	_FAILED,4,2                     ; @FAILED
	.comm	_EIO,4,2                        ; @EIO
	.comm	_errno,4,2                      ; @errno
	.comm	_NG_HCI_EVENT_CON_COMPL,8,3     ; @NG_HCI_EVENT_CON_COMPL
	.comm	_stdout,4,2                     ; @stdout
l_.str.2:                               ; @.str.2
	.asciz	"Status: %s [%#02x]\n"

l_.str.3:                               ; @.str.3
	.asciz	"BD_ADDR: %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"Connection handle: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"Encryption mode: %s [%d]\n"

	.comm	_OK,4,2                         ; @OK
	.no_dead_strip	_hci_create_connection
.subsections_via_symbols
