	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pnp_new_dependent_set
_pnp_new_dependent_set:                 ## @pnp_new_dependent_set
	.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
	movl	%esi, %eax
	movq	%rdi, %rbx
	movq	_PNP_RES_PRIORITY_FUNCTIONAL@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	jge	LBB0_2
## %bb.1:
	leaq	4(%rbx), %rdi
	movq	_PNP_RES_PRIORITY_INVALID@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_warn
	movl	(%r14), %eax
LBB0_2:
	movl	(%rbx), %edx
	movq	_PNP_OPTION_SET_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	%edx, %esi
	movq	_PNP_OPTION_SET_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	movq	_PNP_OPTION_DEPENDENT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	movq	_PNP_OPTION_PRIORITY_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_PNP_OPTION_PRIORITY_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	orl	%esi, %eax
	incl	%edx
	movl	%edx, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PNP_RES_PRIORITY_FUNCTIONAL,4,2 ## @PNP_RES_PRIORITY_FUNCTIONAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid dependent option priority %d clipped to %d"

	.comm	_PNP_RES_PRIORITY_INVALID,4,2   ## @PNP_RES_PRIORITY_INVALID
	.comm	_PNP_OPTION_DEPENDENT,4,2       ## @PNP_OPTION_DEPENDENT
	.comm	_PNP_OPTION_SET_MASK,4,2        ## @PNP_OPTION_SET_MASK
	.comm	_PNP_OPTION_SET_SHIFT,4,2       ## @PNP_OPTION_SET_SHIFT
	.comm	_PNP_OPTION_PRIORITY_MASK,4,2   ## @PNP_OPTION_PRIORITY_MASK
	.comm	_PNP_OPTION_PRIORITY_SHIFT,4,2  ## @PNP_OPTION_PRIORITY_SHIFT
	.no_dead_strip	_pnp_new_dependent_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pnp_new_dependent_set
_pnp_new_dependent_set:                 ; @pnp_new_dependent_set
	.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	x2, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PNP_RES_PRIORITY_FUNCTIONAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PNP_RES_PRIORITY_FUNCTIONAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ge	LBB0_2
; %bb.1:
	add	x0, x19, #4
Lloh3:
	adrp	x20, _PNP_RES_PRIORITY_INVALID@GOTPAGE
Lloh4:
	ldr	x20, [x20, _PNP_RES_PRIORITY_INVALID@GOTPAGEOFF]
	ldr	w3, [x20]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
	ldr	w2, [x20]
LBB0_2:
Lloh7:
	adrp	x8, _PNP_OPTION_DEPENDENT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PNP_OPTION_DEPENDENT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x19]
Lloh10:
	adrp	x10, _PNP_OPTION_SET_MASK@GOTPAGE
Lloh11:
	ldr	x10, [x10, _PNP_OPTION_SET_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	and	w10, w10, w9
Lloh13:
	adrp	x11, _PNP_OPTION_SET_SHIFT@GOTPAGE
Lloh14:
	ldr	x11, [x11, _PNP_OPTION_SET_SHIFT@GOTPAGEOFF]
Lloh15:
	ldr	w11, [x11]
	lsl	w10, w10, w11
	orr	w8, w10, w8
Lloh16:
	adrp	x10, _PNP_OPTION_PRIORITY_MASK@GOTPAGE
Lloh17:
	ldr	x10, [x10, _PNP_OPTION_PRIORITY_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	and	w10, w10, w2
Lloh19:
	adrp	x11, _PNP_OPTION_PRIORITY_SHIFT@GOTPAGE
Lloh20:
	ldr	x11, [x11, _PNP_OPTION_PRIORITY_SHIFT@GOTPAGEOFF]
Lloh21:
	ldr	w11, [x11]
	lsl	w10, w10, w11
	orr	w0, w8, w10
	add	w8, w9, #1
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PNP_RES_PRIORITY_FUNCTIONAL,4,2 ; @PNP_RES_PRIORITY_FUNCTIONAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid dependent option priority %d clipped to %d"

	.comm	_PNP_RES_PRIORITY_INVALID,4,2   ; @PNP_RES_PRIORITY_INVALID
	.comm	_PNP_OPTION_DEPENDENT,4,2       ; @PNP_OPTION_DEPENDENT
	.comm	_PNP_OPTION_SET_MASK,4,2        ; @PNP_OPTION_SET_MASK
	.comm	_PNP_OPTION_SET_SHIFT,4,2       ; @PNP_OPTION_SET_SHIFT
	.comm	_PNP_OPTION_PRIORITY_MASK,4,2   ; @PNP_OPTION_PRIORITY_MASK
	.comm	_PNP_OPTION_PRIORITY_SHIFT,4,2  ; @PNP_OPTION_PRIORITY_SHIFT
	.no_dead_strip	_pnp_new_dependent_set
.subsections_via_symbols
