	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mceusb_set_tx_mask
_mceusb_set_tx_mask:                    ## @mceusb_set_tx_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdx
	movl	(%rdx), %ecx
	testl	%ecx, %ecx
	movl	$2, %eax
	cmovnel	%ecx, %eax
	movl	$1, %edi
	movl	%eax, %ecx
	shll	%cl, %edi
	cmpl	%esi, %edi
	jle	LBB0_4
## %bb.1:
	cmpq	$0, 8(%rdx)
	jne	LBB0_3
## %bb.2:
	movq	_MCE_DEFAULT_TX_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	cmpl	%esi, %eax
	cmovnel	%eax, %ecx
	xorl	%esi, %ecx
	addl	%ecx, %ecx
	movl	%ecx, %esi
LBB0_3:
	movl	%esi, 4(%rdx)
	xorl	%eax, %eax
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCE_DEFAULT_TX_MASK,4,2        ## @MCE_DEFAULT_TX_MASK
	.no_dead_strip	_mceusb_set_tx_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mceusb_set_tx_mask
_mceusb_set_tx_mask:                    ; @mceusb_set_tx_mask
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
	mov	w10, #2
	cmp	w9, #0
	csel	w0, w10, w9, eq
	mov	w9, #1
	lsl	w9, w9, w0
	cmp	w9, w1
	b.le	LBB0_4
; %bb.1:
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_3
; %bb.2:
Lloh0:
	adrp	x9, _MCE_DEFAULT_TX_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MCE_DEFAULT_TX_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w1
	csel	w9, wzr, w9, eq
	eor	w9, w9, w1
	lsl	w1, w9, #1
LBB0_3:
	mov	w0, #0
	str	w1, [x8, #4]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MCE_DEFAULT_TX_MASK,4,2        ; @MCE_DEFAULT_TX_MASK
	.no_dead_strip	_mceusb_set_tx_mask
.subsections_via_symbols
