	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hci_hmode2str                  ## -- Begin function hci_hmode2str
	.p2align	4, 0x90
_hci_hmode2str:                         ## @hci_hmode2str
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	movl	%edx, %r14d
	testl	%edx, %edx
	jle	LBB0_8
## %bb.2:
	movl	%edi, %r15d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	leaq	_hci_hmode2str.t(%rip), %rdi
	callq	_SIZE
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:
	xorl	%ebx, %ebx
	leaq	_hci_hmode2str.t(%rip), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	leaq	_hci_hmode2str.t(%rip), %rdi
	callq	_SIZE
	cltq
	addq	$8, %r12
	cmpq	%rax, %rbx
	jge	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_strlen
	cmpl	%r14d, %eax
	jge	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	btl	%ebx, %r15d
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12), %rsi
	movl	%r14d, %edx
	subl	%eax, %edx
	movq	%r13, %rdi
	callq	_strncat
	jmp	LBB0_7
LBB0_8:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @hci_hmode2str.t
_hci_hmode2str.t:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Suspend Page Scan "

L_.str.1:                               ## @.str.1
	.asciz	"Suspend Inquiry Scan "

L_.str.2:                               ## @.str.2
	.asciz	"Suspend Periodic Inquiries "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hci_hmode2str                  ; -- Begin function hci_hmode2str
	.p2align	2
_hci_hmode2str:                         ; @hci_hmode2str
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	cbz	x1, LBB0_8
; %bb.1:
	mov	x20, x2
	cmp	w2, #1
	b.lt	LBB0_8
; %bb.2:
	mov	x21, x0
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_memset
Lloh0:
	adrp	x22, _hci_hmode2str.t@PAGE
Lloh1:
	add	x22, x22, _hci_hmode2str.t@PAGEOFF
	mov	x0, x22
	bl	_SIZE
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x23, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	mov	x0, x22
	bl	_SIZE
	cmp	x23, w0, sxtw
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_strlen
	cmp	w0, w20
	b.ge	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	lsr	w8, w21, w23
	tbz	w8, #0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [x22, x23, lsl #3]
	sub	w2, w20, w0
	mov	x0, x19
	bl	_strncat
	b	LBB0_4
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @hci_hmode2str.t
_hci_hmode2str.t:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Suspend Page Scan "

l_.str.1:                               ; @.str.1
	.asciz	"Suspend Inquiry Scan "

l_.str.2:                               ; @.str.2
	.asciz	"Suspend Periodic Inquiries "

.subsections_via_symbols
