	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_lpss_assign_devs
_intel_lpss_assign_devs:                ## @intel_lpss_assign_devs
	.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	_LPSS_PRIV_CAPS_TYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	(%rdi), %ebx
	movq	_LPSS_PRIV_CAPS_TYPE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrl	%cl, %ebx
	leal	-128(%rbx), %eax
	cmpl	$3, %eax
	jae	LBB0_1
## %bb.3:
	movq	%rdi, %r14
	cltq
	leaq	l_switch.table.intel_lpss_assign_devs(%rip), %rcx
	movq	(%rcx,%rax,8), %rsi
	movl	12(%rdi), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$4, %edx
	callq	_devm_kmemdup
	movl	%eax, 8(%r14)
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	%ebx, 4(%r14)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LPSS_PRIV_CAPS_TYPE_MASK,4,2   ## @LPSS_PRIV_CAPS_TYPE_MASK
	.comm	_LPSS_PRIV_CAPS_TYPE_SHIFT,4,2  ## @LPSS_PRIV_CAPS_TYPE_SHIFT
	.comm	_intel_lpss_i2c_cell,4,2        ## @intel_lpss_i2c_cell
	.comm	_intel_lpss_uart_cell,4,2       ## @intel_lpss_uart_cell
	.comm	_intel_lpss_spi_cell,4,2        ## @intel_lpss_spi_cell
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_intel_lpss_assign_devs
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.intel_lpss_assign_devs
l_switch.table.intel_lpss_assign_devs:
	.quad	_intel_lpss_uart_cell
	.quad	_intel_lpss_spi_cell
	.quad	_intel_lpss_i2c_cell

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_lpss_assign_devs
_intel_lpss_assign_devs:                ; @intel_lpss_assign_devs
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _LPSS_PRIV_CAPS_TYPE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LPSS_PRIV_CAPS_TYPE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh3:
	adrp	x9, _LPSS_PRIV_CAPS_TYPE_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LPSS_PRIV_CAPS_TYPE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsr	w20, w8, w9
	sub	w8, w20, #128
	cmp	w8, #3
	b.hs	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh6:
	adrp	x9, l_switch.table.intel_lpss_assign_devs@PAGE
Lloh7:
	add	x9, x9, l_switch.table.intel_lpss_assign_devs@PAGEOFF
	ldr	x1, [x9, w8, sxtw #3]
	ldr	w0, [x0, #12]
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	w2, #4
	bl	_devm_kmemdup
	str	w0, [x19, #8]
	cbz	w0, LBB0_4
; %bb.2:
	mov	w0, #0
	str	w20, [x19, #4]
	b	LBB0_6
LBB0_3:
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LPSS_PRIV_CAPS_TYPE_MASK,4,2   ; @LPSS_PRIV_CAPS_TYPE_MASK
	.comm	_LPSS_PRIV_CAPS_TYPE_SHIFT,4,2  ; @LPSS_PRIV_CAPS_TYPE_SHIFT
	.comm	_intel_lpss_i2c_cell,4,2        ; @intel_lpss_i2c_cell
	.comm	_intel_lpss_uart_cell,4,2       ; @intel_lpss_uart_cell
	.comm	_intel_lpss_spi_cell,4,2        ; @intel_lpss_spi_cell
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_intel_lpss_assign_devs
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.intel_lpss_assign_devs
l_switch.table.intel_lpss_assign_devs:
	.quad	_intel_lpss_uart_cell
	.quad	_intel_lpss_spi_cell
	.quad	_intel_lpss_i2c_cell

.subsections_via_symbols
