	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_pci_hif_map_service_to_pipe ## -- Begin function ath10k_pci_hif_map_service_to_pipe
	.p2align	4, 0x90
_ath10k_pci_hif_map_service_to_pipe:    ## @ath10k_pci_hif_map_service_to_pipe
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %ebx
	movq	_ATH10K_DBG_PCI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_ath10k_dbg
	movq	_target_service_to_ce_map_wlan@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	testl	%eax, %eax
	jle	LBB0_11
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_WARN_ON
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_WARN_ON
	movl	(%r14,%r12), %edi
	callq	___le32_to_cpu
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14,%r12), %edi
	callq	___le32_to_cpu
	movl	%eax, (%rbx)
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$12, %r12
	cmpq	%rax, %r13
	jge	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %r14
	movl	8(%r14,%r12), %edi
	callq	___le32_to_cpu
	cmpl	%ebx, %eax
	jne	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r14,%r12), %edi
	callq	___le32_to_cpu
	cmpl	$128, %eax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$130, %eax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$131, %eax
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_WARN_ON
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_WARN_ON
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_11:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movl	$0, %eax
	cmovel	%ecx, %eax
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	cmovel	%ecx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH10K_DBG_PCI,4,2             ## @ATH10K_DBG_PCI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pci hif map service\n"

	.comm	_target_service_to_ce_map_wlan,8,3 ## @target_service_to_ce_map_wlan
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath10k_pci_hif_map_service_to_pipe ; -- Begin function ath10k_pci_hif_map_service_to_pipe
	.p2align	2
_ath10k_pci_hif_map_service_to_pipe:    ; @ath10k_pci_hif_map_service_to_pipe
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x8, _ATH10K_DBG_PCI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATH10K_DBG_PCI@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_ath10k_dbg
Lloh5:
	adrp	x24, _target_service_to_ce_map_wlan@GOTPAGE
Lloh6:
	ldr	x24, [x24, _target_service_to_ce_map_wlan@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x25, #0
	mov	x26, #0
	mov	w23, #0
	mov	w22, #0
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_WARN_ON
	mov	x0, x22
	bl	_WARN_ON
	ldr	w0, [x27, x25]
	bl	___le32_to_cpu
	str	w0, [x19]
	mov	w22, #1
	mov	x28, x20
	mov	w23, #1
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x27, x25]
	bl	___le32_to_cpu
	str	w0, [x28]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x26, x26, #1
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	add	x25, x25, #12
	cmp	x26, w0, sxtw
	b.ge	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x24]
	add	x28, x27, x25
	ldr	w0, [x28, #8]
	bl	___le32_to_cpu
	cmp	w0, w21
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x28, #4]
	bl	___le32_to_cpu
	cmp	w0, #128
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #130
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #131
	b.ne	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_WARN_ON
	mov	w23, #1
	mov	x28, x19
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_WARN_ON
	mov	w22, #1
	mov	x28, x20
	b	LBB0_3
LBB0_11:
	mov	w22, #0
	mov	w23, #0
LBB0_12:
	cmp	w23, #0
	ccmp	w22, #0, #4, ne
Lloh7:
	adrp	x8, _ENOENT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	csneg	w0, wzr, w8, ne
	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
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH10K_DBG_PCI,4,2             ; @ATH10K_DBG_PCI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pci hif map service\n"

	.comm	_target_service_to_ce_map_wlan,8,3 ; @target_service_to_ce_map_wlan
	.comm	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
