	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfcsim_in_configure_hw
_nfcsim_in_configure_hw:                ## @nfcsim_in_configure_hw
	.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	%edx, %r14d
	movl	%esi, %ebx
	callq	_nfc_digital_get_drvdata
	movq	%rax, %rdi
	xorl	%eax, %eax
	cmpl	$129, %ebx
	je	LBB0_4
## %bb.1:
	cmpl	$128, %ebx
	jne	LBB0_3
## %bb.2:
	movl	$1, (%rdi)
	movq	_NFCSIM_MODE_INITIATOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rdi)
	movl	%r14d, 4(%rdi)
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_NFCSIM_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NFCSIM_MODE_INITIATOR,4,2      ## @NFCSIM_MODE_INITIATOR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid configuration type: %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_nfcsim_in_configure_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfcsim_in_configure_hw
_nfcsim_in_configure_hw:                ; @nfcsim_in_configure_hw
	.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	x19, x2
	mov	x20, x1
	bl	_nfc_digital_get_drvdata
	cmp	w20, #129
	b.eq	LBB0_3
; %bb.1:
	mov	x8, x0
	cmp	w20, #128
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #0
	mov	w9, #1
Lloh0:
	adrp	x10, _NFCSIM_MODE_INITIATOR@GOTPAGE
Lloh1:
	ldr	x10, [x10, _NFCSIM_MODE_INITIATOR@GOTPAGEOFF]
	stp	w9, w19, [x8]
Lloh2:
	ldr	w9, [x10]
	str	w9, [x8, #8]
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	mov	x2, x20
	bl	_NFCSIM_ERR
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NFCSIM_MODE_INITIATOR,4,2      ; @NFCSIM_MODE_INITIATOR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid configuration type: %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_nfcsim_in_configure_hw
.subsections_via_symbols
