	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sanitize_config
_sanitize_config:                       ## @sanitize_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	cmpl	$129, %esi
	je	LBB0_9
## %bb.1:
	cmpl	$128, %esi
	jne	LBB0_15
## %bb.2:
	movl	12(%rdi), %ecx
	movq	_DMA_SLAVE_BUSWIDTH_UNDEFINED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cmpl	%esi, %ecx
	je	LBB0_4
## %bb.3:
	movl	4(%rdi), %edx
	testl	%edx, %edx
	je	LBB0_4
## %bb.5:
	cmpl	%esi, 8(%rdi)
	jne	LBB0_7
## %bb.6:
	movl	%ecx, 8(%rdi)
LBB0_7:
	cmpl	$0, (%rdi)
	je	LBB0_8
LBB0_15:
	popq	%rbp
	retq
LBB0_9:
	movl	8(%rdi), %ecx
	movq	_DMA_SLAVE_BUSWIDTH_UNDEFINED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cmpl	%esi, %ecx
	je	LBB0_4
## %bb.10:
	movl	(%rdi), %edx
	testl	%edx, %edx
	je	LBB0_4
## %bb.11:
	cmpl	%esi, 12(%rdi)
	jne	LBB0_13
## %bb.12:
	movl	%ecx, 12(%rdi)
LBB0_13:
	cmpl	$0, 4(%rdi)
	jne	LBB0_15
## %bb.14:
	movl	%edx, 4(%rdi)
	popq	%rbp
	retq
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_8:
	movl	%edx, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_SLAVE_BUSWIDTH_UNDEFINED,4,2 ## @DMA_SLAVE_BUSWIDTH_UNDEFINED
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_sanitize_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sanitize_config
_sanitize_config:                       ; @sanitize_config
	.cfi_startproc
; %bb.0:
	cmp	w1, #129
	b.eq	LBB0_8
; %bb.1:
	cmp	w1, #128
	b.ne	LBB0_13
; %bb.2:
	ldr	w8, [x0, #12]
Lloh0:
	adrp	x9, _DMA_SLAVE_BUSWIDTH_UNDEFINED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DMA_SLAVE_BUSWIDTH_UNDEFINED@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
	cmp	w8, w10
	b.eq	LBB0_14
; %bb.3:
	ldr	w9, [x0, #4]
	cbz	w9, LBB0_14
; %bb.4:
	ldr	w11, [x0, #8]
	cmp	w11, w10
	b.ne	LBB0_6
; %bb.5:
	str	w8, [x0, #8]
LBB0_6:
	ldr	w8, [x0]
	cbnz	w8, LBB0_13
; %bb.7:
	str	w9, [x0]
	mov	x0, x8
	ret
LBB0_8:
	ldr	w8, [x0, #8]
Lloh3:
	adrp	x9, _DMA_SLAVE_BUSWIDTH_UNDEFINED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DMA_SLAVE_BUSWIDTH_UNDEFINED@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x9]
	cmp	w8, w10
	b.eq	LBB0_14
; %bb.9:
	ldr	w9, [x0]
	cbz	w9, LBB0_14
; %bb.10:
	ldr	w11, [x0, #12]
	cmp	w11, w10
	b.ne	LBB0_12
; %bb.11:
	str	w8, [x0, #12]
LBB0_12:
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_15
LBB0_13:
	mov	w0, #0
	ret
LBB0_14:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_15:
	str	w9, [x0, #4]
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_SLAVE_BUSWIDTH_UNDEFINED,4,2 ; @DMA_SLAVE_BUSWIDTH_UNDEFINED
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_sanitize_config
.subsections_via_symbols
