	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function irq_enable
_irq_enable:                            ## @irq_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CHA@GOTPCREL(%rip), %rax
	notl	%edx
	cmpb	%sil, (%rax)
	jne	LBB0_2
## %bb.1:
	andw	(%rdi), %dx
	movw	%dx, (%rdi)
	movzbl	(%rax), %esi
	jmp	LBB0_3
LBB0_2:
	andw	2(%rdi), %dx
	movw	%dx, 2(%rdi)
	movq	_CHB@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
LBB0_3:
	movq	_IMR@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movzwl	%dx, %edx
	popq	%rbp
	jmp	_write_reg16                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CHA,1,0                        ## @CHA
	.comm	_IMR,8,3                        ## @IMR
	.comm	_CHB,8,3                        ## @CHB
	.no_dead_strip	_irq_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function irq_enable
_irq_enable:                            ; @irq_enable
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _CHA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHA@GOTPAGEOFF]
	ldrb	w10, [x9]
	mvn	w8, w2
	cmp	w10, w1
	b.ne	LBB0_2
; %bb.1:
	ldrh	w10, [x0]
	and	w8, w10, w8
	strh	w8, [x0]
	ldrb	w9, [x9]
	b	LBB0_3
LBB0_2:
	ldrh	w9, [x0, #2]
	and	w8, w9, w8
	strh	w8, [x0, #2]
Lloh2:
	adrp	x9, _CHB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CHB@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
LBB0_3:
Lloh5:
	adrp	x10, _IMR@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IMR@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	add	x1, x10, x9
	and	w2, w8, #0xffff
	b	_write_reg16
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CHA,1,0                        ; @CHA
	.comm	_IMR,8,3                        ; @IMR
	.comm	_CHB,8,3                        ; @CHB
	.no_dead_strip	_irq_enable
.subsections_via_symbols
