	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function halbtc_get_bt_afh_map_from_bt
_halbtc_get_bt_afh_map_from_bt:         ## @halbtc_get_bt_afh_map_from_bt
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	$0, -32(%rbp)
	movq	_BT_OP_GET_AFH_MAP_L@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movl	$2, %ecx
	movl	$200, %r8d
	callq	_halbtc_send_bt_mp_operation
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	8(%rbx), %eax
	movl	%eax, (%r14)
	movq	_BT_OP_GET_AFH_MAP_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$2, %ecx
	movl	$200, %r8d
	callq	_halbtc_send_bt_mp_operation
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movl	4(%rbx), %eax
	movl	%eax, 16(%r14)
	movq	_BT_OP_GET_AFH_MAP_H@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$2, %ecx
	movl	$200, %r8d
	callq	_halbtc_send_bt_mp_operation
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %ecx
	movl	%ecx, 32(%r14)
	movl	%eax, %r15d
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BT_OP_GET_AFH_MAP_L,4,2        ## @BT_OP_GET_AFH_MAP_L
	.comm	_BT_OP_GET_AFH_MAP_M,4,2        ## @BT_OP_GET_AFH_MAP_M
	.comm	_BT_OP_GET_AFH_MAP_H,4,2        ## @BT_OP_GET_AFH_MAP_H
	.no_dead_strip	_halbtc_get_bt_afh_map_from_bt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function halbtc_get_bt_afh_map_from_bt
_halbtc_get_bt_afh_map_from_bt:         ; @halbtc_get_bt_afh_map_from_bt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _BT_OP_GET_AFH_MAP_L@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BT_OP_GET_AFH_MAP_L@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	w3, #2
	mov	w4, #200
	bl	_halbtc_send_bt_mp_operation
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w8, [x20, #8]
	str	w8, [x19]
Lloh3:
	adrp	x8, _BT_OP_GET_AFH_MAP_M@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BT_OP_GET_AFH_MAP_M@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #2
	mov	w4, #200
	bl	_halbtc_send_bt_mp_operation
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w8, [x20, #4]
	str	w8, [x19, #16]
Lloh6:
	adrp	x8, _BT_OP_GET_AFH_MAP_H@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BT_OP_GET_AFH_MAP_H@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #2
	mov	w4, #200
	bl	_halbtc_send_bt_mp_operation
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w8, [x20]
	str	w8, [x19, #32]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BT_OP_GET_AFH_MAP_L,4,2        ; @BT_OP_GET_AFH_MAP_L
	.comm	_BT_OP_GET_AFH_MAP_M,4,2        ; @BT_OP_GET_AFH_MAP_M
	.comm	_BT_OP_GET_AFH_MAP_H,4,2        ; @BT_OP_GET_AFH_MAP_H
	.no_dead_strip	_halbtc_get_bt_afh_map_from_bt
.subsections_via_symbols
