	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hci_read_node_buffer_size
_hci_read_node_buffer_size:             ## @hci_read_node_buffer_size
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$28, %edx
	callq	_memset
	movq	_SIOC_HCI_RAW_NODE_GET_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	movq	%r14, %rdx
	movl	$28, %ecx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	_stdout@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	-48(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	(%rbx), %edi
	movl	-44(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	movl	(%rbx), %edi
	movl	-40(%rbp), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_fprintf
	movl	(%rbx), %edi
	movl	-36(%rbp), %edx
	leaq	L_.str.3(%rip), %rsi
	callq	_fprintf
	movl	(%rbx), %edi
	movl	-32(%rbp), %edx
	leaq	L_.str.4(%rip), %rsi
	callq	_fprintf
	movl	(%rbx), %edi
	movl	-28(%rbp), %edx
	leaq	L_.str.5(%rip), %rsi
	callq	_fprintf
	movl	(%rbx), %edi
	movl	-24(%rbp), %edx
	leaq	L_.str.6(%rip), %rsi
	callq	_fprintf
	movq	_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ERROR@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIOC_HCI_RAW_NODE_GET_BUFFER,4,2 ## @SIOC_HCI_RAW_NODE_GET_BUFFER
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_stdout,4,2                     ## @stdout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Number of free command buffers: %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Max. ACL packet size: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Numbef of free ACL buffers: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"Total number of ACL buffers: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"Max. SCO packet size: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"Numbef of free SCO buffers: %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"Total number of SCO buffers: %d\n"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hci_read_node_buffer_size
_hci_read_node_buffer_size:             ; @hci_read_node_buffer_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #28
	bl	_memset
Lloh0:
	adrp	x8, _SIOC_HCI_RAW_NODE_GET_BUFFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIOC_HCI_RAW_NODE_GET_BUFFER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	mov	w3, #28
	bl	_ioctl
	tbnz	x0, #63, LBB0_2
; %bb.1:
Lloh3:
	adrp	x19, _stdout@GOTPAGE
Lloh4:
	ldr	x19, [x19, _stdout@GOTPAGEOFF]
	ldr	w0, [x19]
	ldr	w2, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
	ldr	w2, [sp, #4]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
	ldr	w2, [sp, #8]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
	ldr	w2, [sp, #12]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
	ldr	w2, [sp, #16]
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
	ldr	w2, [sp, #20]
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
	ldr	w2, [sp, #24]
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
Lloh19:
	adrp	x8, _OK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _OK@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh21:
	adrp	x8, _ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_SIOC_HCI_RAW_NODE_GET_BUFFER,4,2 ; @SIOC_HCI_RAW_NODE_GET_BUFFER
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_stdout,4,2                     ; @stdout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Number of free command buffers: %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Max. ACL packet size: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Numbef of free ACL buffers: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"Total number of ACL buffers: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"Max. SCO packet size: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"Numbef of free SCO buffers: %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"Total number of SCO buffers: %d\n"

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