	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_pad_locked
_intel_pad_locked:                      ## @intel_pad_locked
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	_PAD_UNLOCKED@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	callq	_intel_get_community
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_intel_community_get_padgroup
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_padgroup_offset
	movl	%eax, %ebx
	movl	(%r12), %edi
	shll	$3, %edi
	addl	(%r14), %edi
	addq	8(%r14), %rdi
	callq	_readl
	movl	%eax, %r13d
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_BIT
	movl	%eax, %ebx
	andl	%r13d, %ebx
	je	LBB0_7
## %bb.6:
	movq	_PAD_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:
	orl	%r15d, %ebx
	movl	(%r14), %eax
	movl	(%r12), %ecx
	leal	(%rax,%rcx,8), %edi
	addl	$4, %edi
	addq	8(%r14), %rdi
	callq	_readl
	movl	%eax, %r14d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_BIT
	andl	%r14d, %eax
	je	LBB0_9
## %bb.8:
	movq	_PAD_LOCKED_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	orl	%eax, %ebx
	jmp	LBB0_10
LBB0_1:
	movq	_PAD_LOCKED_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_3:
	movl	(%r12), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAD_UNLOCKED,4,2               ## @PAD_UNLOCKED
	.comm	_PAD_LOCKED_FULL,4,2            ## @PAD_LOCKED_FULL
	.comm	_PAD_LOCKED,4,2                 ## @PAD_LOCKED
	.comm	_PAD_LOCKED_TX,4,2              ## @PAD_LOCKED_TX
	.no_dead_strip	_intel_pad_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_pad_locked
_intel_pad_locked:                      ; @intel_pad_locked
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
Lloh0:
	adrp	x20, _PAD_UNLOCKED@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PAD_UNLOCKED@GOTPAGEOFF]
	ldr	w23, [x20]
	bl	_intel_get_community
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_5
; %bb.2:
	mov	x0, x19
	mov	x1, x21
	bl	_intel_community_get_padgroup
	cbz	x0, LBB0_4
; %bb.3:
	mov	x20, x0
	mov	x1, x21
	bl	_padgroup_offset
	mov	x21, x0
	ldr	w8, [x19]
	ldr	w9, [x20]
	add	w8, w8, w9, lsl #3
	ldr	x9, [x19, #8]
	add	x0, x9, x8
	bl	_readl
	mov	x22, x0
	mov	x0, x21
	bl	_BIT
Lloh2:
	adrp	x8, _PAD_LOCKED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PAD_LOCKED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w0, w22
	csel	w8, wzr, w8, eq
	orr	w22, w8, w23
	ldr	w8, [x19]
	ldr	w9, [x20]
	add	w8, w8, w9, lsl #3
	add	w8, w8, #4
	ldr	x9, [x19, #8]
	add	x0, x9, x8
	bl	_readl
	mov	x19, x0
	mov	x0, x21
	bl	_BIT
Lloh5:
	adrp	x8, _PAD_LOCKED_TX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PAD_LOCKED_TX@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w0, w19
	csel	w8, wzr, w8, eq
	orr	w0, w22, w8
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x8, _PAD_LOCKED_FULL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PAD_LOCKED_FULL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_5:
	ldr	w0, [x20]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PAD_UNLOCKED,4,2               ; @PAD_UNLOCKED
	.comm	_PAD_LOCKED_FULL,4,2            ; @PAD_LOCKED_FULL
	.comm	_PAD_LOCKED,4,2                 ; @PAD_LOCKED
	.comm	_PAD_LOCKED_TX,4,2              ; @PAD_LOCKED_TX
	.no_dead_strip	_intel_pad_locked
.subsections_via_symbols
