	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function genwqe_tweak_hardware
_genwqe_tweak_hardware:                 ## @genwqe_tweak_hardware
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rdi), %edx
	movl	%edx, %eax
	andl	$1048560, %eax                  ## imm = 0xFFFF0
	addl	$-204800, %eax                  ## imm = 0xFFFCE000
	cmpl	$4688, %eax                     ## imm = 0x1250
	ja	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	movl	4(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	movq	_IO_APP_SEC_LEM_DEBUG_OVR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	___genwqe_writeq
	movq	_IO_APP_ERR_ACT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___genwqe_writeq                ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FIRs masked due to bitstream %016llx.%016llx\n"

	.comm	_IO_APP_SEC_LEM_DEBUG_OVR,4,2   ## @IO_APP_SEC_LEM_DEBUG_OVR
	.comm	_IO_APP_ERR_ACT_MASK,4,2        ## @IO_APP_ERR_ACT_MASK
	.no_dead_strip	_genwqe_tweak_hardware
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function genwqe_tweak_hardware
_genwqe_tweak_hardware:                 ; @genwqe_tweak_hardware
	.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	w2, [x0]
	and	w8, w2, #0xffff0
	sub	w8, w8, #50, lsl #12            ; =204800
	mov	w9, #4688
	cmp	w8, w9
	b.hi	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #8]
	ldr	w3, [x19, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
Lloh2:
	adrp	x8, _IO_APP_SEC_LEM_DEBUG_OVR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IO_APP_SEC_LEM_DEBUG_OVR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	___genwqe_writeq
Lloh5:
	adrp	x8, _IO_APP_ERR_ACT_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IO_APP_ERR_ACT_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___genwqe_writeq
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FIRs masked due to bitstream %016llx.%016llx\n"

	.comm	_IO_APP_SEC_LEM_DEBUG_OVR,4,2   ; @IO_APP_SEC_LEM_DEBUG_OVR
	.comm	_IO_APP_ERR_ACT_MASK,4,2        ; @IO_APP_ERR_ACT_MASK
	.no_dead_strip	_genwqe_tweak_hardware
.subsections_via_symbols
