	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_dflt_cfg
_set_dflt_cfg:                          ## @set_dflt_cfg
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	16(%rdi), %rbx
	movq	_FMAN_PORT_DMA_NO_SWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_FMAN_PORT_COLOR_GREEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_DFLT_PORT_CUT_BYTES_FROM_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_BMI_PRIORITY_ELEVATION_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_BMI_FIFO_THRESHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movl	$5120, (%rbx)                   ## imm = 0x1400
	movq	_FMAN_PORT_DEQ_BY_PRI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_FMAN_PORT_DEQ_FULL_PREFETCH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movl	24(%rdi), %edi
	movl	28(%r14), %esi
	callq	_BMI_DEQUEUE_PIPELINE_DEPTH
	movl	%eax, 32(%rbx)
	movl	24(%r14), %edi
	callq	_QMI_BYTE_COUNT_LEVEL_CONTROL
	movl	%eax, 28(%rbx)
	movl	8(%r14), %edi
	callq	_DFLT_PORT_RX_FIFO_PRI_ELEVATION_LEV
	movl	%eax, 24(%rbx)
	movl	(%r14), %edi
	movl	8(%r14), %esi
	callq	_DFLT_PORT_RX_FIFO_THRESHOLD
	movq	16(%r14), %rcx
	movl	%eax, 20(%rcx)
	movl	(%r14), %eax
	cmpl	$6, %eax
	jne	LBB0_5
## %bb.1:
	movl	4(%r14), %eax
	cmpl	$3, %eax
	je	LBB0_3
## %bb.2:
	testl	%eax, %eax
	jne	LBB0_4
LBB0_3:
	movl	$1, 4(%rbx)
	jmp	LBB0_4
LBB0_5:
	jge	LBB0_4
## %bb.6:
	leaq	8(%rbx), %rax
	jmp	LBB0_7
LBB0_4:
	leaq	12(%rbx), %rax
LBB0_7:
	movl	$1, (%rax)
	movq	_DFLT_PORT_BUFFER_PREFIX_CONTEXT_DATA_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FMAN_PORT_DMA_NO_SWAP,4,2      ## @FMAN_PORT_DMA_NO_SWAP
	.comm	_FMAN_PORT_COLOR_GREEN,4,2      ## @FMAN_PORT_COLOR_GREEN
	.comm	_DFLT_PORT_CUT_BYTES_FROM_END,4,2 ## @DFLT_PORT_CUT_BYTES_FROM_END
	.comm	_BMI_PRIORITY_ELEVATION_LEVEL,4,2 ## @BMI_PRIORITY_ELEVATION_LEVEL
	.comm	_BMI_FIFO_THRESHOLD,4,2         ## @BMI_FIFO_THRESHOLD
	.comm	_FMAN_PORT_DEQ_BY_PRI,4,2       ## @FMAN_PORT_DEQ_BY_PRI
	.comm	_FMAN_PORT_DEQ_FULL_PREFETCH,4,2 ## @FMAN_PORT_DEQ_FULL_PREFETCH
	.comm	_DFLT_PORT_BUFFER_PREFIX_CONTEXT_DATA_ALIGN,4,2 ## @DFLT_PORT_BUFFER_PREFIX_CONTEXT_DATA_ALIGN
	.no_dead_strip	_set_dflt_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_dflt_cfg
_set_dflt_cfg:                          ; @set_dflt_cfg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0, #16]
Lloh0:
	adrp	x8, _FMAN_PORT_DMA_NO_SWAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FMAN_PORT_DMA_NO_SWAP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #52]
Lloh3:
	adrp	x8, _FMAN_PORT_COLOR_GREEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FMAN_PORT_COLOR_GREEN@GOTPAGEOFF]
Lloh5:
	adrp	x9, _DFLT_PORT_CUT_BYTES_FROM_END@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DFLT_PORT_CUT_BYTES_FROM_END@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #44]
Lloh9:
	adrp	x8, _BMI_PRIORITY_ELEVATION_LEVEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BMI_PRIORITY_ELEVATION_LEVEL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _BMI_FIFO_THRESHOLD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BMI_FIFO_THRESHOLD@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #20]
	mov	w8, #5120
	str	w8, [x20]
Lloh15:
	adrp	x8, _FMAN_PORT_DEQ_BY_PRI@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FMAN_PORT_DEQ_BY_PRI@GOTPAGEOFF]
Lloh17:
	adrp	x9, _FMAN_PORT_DEQ_FULL_PREFETCH@GOTPAGE
Lloh18:
	ldr	x9, [x9, _FMAN_PORT_DEQ_FULL_PREFETCH@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #36]
	ldr	w0, [x0, #24]
	ldr	w1, [x19, #28]
	bl	_BMI_DEQUEUE_PIPELINE_DEPTH
	str	w0, [x20, #32]
	ldr	w0, [x19, #24]
	bl	_QMI_BYTE_COUNT_LEVEL_CONTROL
	str	w0, [x20, #28]
	ldr	w0, [x19, #8]
	bl	_DFLT_PORT_RX_FIFO_PRI_ELEVATION_LEV
	str	w0, [x20, #24]
	ldr	w0, [x19]
	ldr	w1, [x19, #8]
	bl	_DFLT_PORT_RX_FIFO_THRESHOLD
	ldr	x8, [x19, #16]
	str	w0, [x8, #20]
	ldr	w8, [x19]
	cmp	w8, #6
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x19, #4]
	cmp	w8, #3
	b.eq	LBB0_3
; %bb.2:
	cbnz	w8, LBB0_6
LBB0_3:
	mov	w8, #1
	str	w8, [x20, #4]
	b	LBB0_6
LBB0_4:
	cmp	w8, #5
	b.gt	LBB0_6
; %bb.5:
	add	x8, x20, #8
	b	LBB0_7
LBB0_6:
	add	x8, x20, #12
LBB0_7:
	mov	w9, #1
	str	w9, [x8]
Lloh21:
	adrp	x8, _DFLT_PORT_BUFFER_PREFIX_CONTEXT_DATA_ALIGN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DFLT_PORT_BUFFER_PREFIX_CONTEXT_DATA_ALIGN@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x20, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_FMAN_PORT_DMA_NO_SWAP,4,2      ; @FMAN_PORT_DMA_NO_SWAP
	.comm	_FMAN_PORT_COLOR_GREEN,4,2      ; @FMAN_PORT_COLOR_GREEN
	.comm	_DFLT_PORT_CUT_BYTES_FROM_END,4,2 ; @DFLT_PORT_CUT_BYTES_FROM_END
	.comm	_BMI_PRIORITY_ELEVATION_LEVEL,4,2 ; @BMI_PRIORITY_ELEVATION_LEVEL
	.comm	_BMI_FIFO_THRESHOLD,4,2         ; @BMI_FIFO_THRESHOLD
	.comm	_FMAN_PORT_DEQ_BY_PRI,4,2       ; @FMAN_PORT_DEQ_BY_PRI
	.comm	_FMAN_PORT_DEQ_FULL_PREFETCH,4,2 ; @FMAN_PORT_DEQ_FULL_PREFETCH
	.comm	_DFLT_PORT_BUFFER_PREFIX_CONTEXT_DATA_ALIGN,4,2 ; @DFLT_PORT_BUFFER_PREFIX_CONTEXT_DATA_ALIGN
	.no_dead_strip	_set_dflt_cfg
.subsections_via_symbols
