	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pn533_target_jewel_is_valid
_pn533_target_jewel_is_valid:           ## @pn533_target_jewel_is_valid
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r15d, %r15d
	cmpl	$4, %esi
	jb	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_PN533_TYPE_A_SENS_RES_SSD
	movq	%rax, %r14
	movl	(%rbx), %edi
	callq	_PN533_TYPE_A_SENS_RES_PLATCONF
	movq	_PN533_TYPE_A_SENS_RES_SSD_JEWEL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_PN533_TYPE_A_SENS_RES_PLATCONF_JEWEL@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rcx, %r14
	jne	LBB0_3
## %bb.2:
	cmpq	%rdx, %rax
	jne	LBB0_4
LBB0_3:
	cmpq	%rdx, %rax
	setne	%al
	cmpq	%rcx, %r14
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %r15d
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PN533_TYPE_A_SENS_RES_SSD_JEWEL,8,3 ## @PN533_TYPE_A_SENS_RES_SSD_JEWEL
	.comm	_PN533_TYPE_A_SENS_RES_PLATCONF_JEWEL,8,3 ## @PN533_TYPE_A_SENS_RES_PLATCONF_JEWEL
	.no_dead_strip	_pn533_target_jewel_is_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pn533_target_jewel_is_valid
_pn533_target_jewel_is_valid:           ; @pn533_target_jewel_is_valid
	.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
	cmp	w1, #4
	b.lo	LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w0, [x0]
	bl	_PN533_TYPE_A_SENS_RES_SSD
	mov	x19, x0
	ldr	w0, [x20]
	bl	_PN533_TYPE_A_SENS_RES_PLATCONF
Lloh0:
	adrp	x8, _PN533_TYPE_A_SENS_RES_SSD_JEWEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PN533_TYPE_A_SENS_RES_SSD_JEWEL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _PN533_TYPE_A_SENS_RES_PLATCONF_JEWEL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PN533_TYPE_A_SENS_RES_PLATCONF_JEWEL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x19, x8
	ccmp	x0, x9, #4, eq
	b.ne	LBB0_3
; %bb.2:
	cmp	x19, x8
	ccmp	x0, x9, #0, ne
	cset	w0, ne
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_PN533_TYPE_A_SENS_RES_SSD_JEWEL,8,3 ; @PN533_TYPE_A_SENS_RES_SSD_JEWEL
	.comm	_PN533_TYPE_A_SENS_RES_PLATCONF_JEWEL,8,3 ; @PN533_TYPE_A_SENS_RES_PLATCONF_JEWEL
	.no_dead_strip	_pn533_target_jewel_is_valid
.subsections_via_symbols
