	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___SYS_EnableBarnacle           ## -- Begin function __SYS_EnableBarnacle
	.p2align	4, 0x90
___SYS_EnableBarnacle:                  ## @__SYS_EnableBarnacle
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	leaq	-20(%rbp), %rdx
	callq	_EXI_GetID
	testq	%rax, %rax
	je	LBB0_24
## %bb.1:
	movl	-20(%rbp), %eax
	cmpl	$16908287, %eax                 ## imm = 0x101FFFF
	jle	LBB0_2
## %bb.8:
	cmpl	$67244031, %eax                 ## imm = 0x4020FFF
	jle	LBB0_9
## %bb.15:
	cmpl	$68288511, %eax                 ## imm = 0x411FFFF
	jg	LBB0_19
## %bb.16:
	cmpl	$67244032, %eax                 ## imm = 0x4021000
	je	LBB0_24
## %bb.17:
	cmpl	$67372036, %eax                 ## imm = 0x4040404
	je	LBB0_24
## %bb.18:
	cmpl	$67502080, %eax                 ## imm = 0x4060000
	je	LBB0_24
	jmp	LBB0_22
LBB0_2:
	cmpl	$3, %eax
	jle	LBB0_3
## %bb.5:
	cmpl	$32, %eax
	ja	LBB0_6
## %bb.25:
	movl	%eax, %ecx
	movabsq	$4295033104, %rdx               ## imm = 0x100010110
	btq	%rcx, %rdx
	jb	LBB0_24
LBB0_6:
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	je	LBB0_24
## %bb.7:
	cmpl	$16842752, %eax                 ## imm = 0x1010000
	je	LBB0_24
	jmp	LBB0_22
LBB0_9:
	cmpl	$50397183, %eax                 ## imm = 0x300FFFF
	jle	LBB0_10
## %bb.12:
	cmpl	$50397184, %eax                 ## imm = 0x3010000
	je	LBB0_24
## %bb.13:
	cmpl	$67240448, %eax                 ## imm = 0x4020200
	je	LBB0_24
## %bb.14:
	cmpl	$67240704, %eax                 ## imm = 0x4020300
	je	LBB0_24
	jmp	LBB0_22
LBB0_3:
	addl	$2147483644, %eax               ## imm = 0x7FFFFFFC
	cmpl	$28, %eax
	ja	LBB0_22
## %bb.4:
	movl	$268439569, %ecx                ## imm = 0x10001011
	btl	%eax, %ecx
	jae	LBB0_22
LBB0_24:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_19:
	cmpl	$68288512, %eax                 ## imm = 0x4120000
	je	LBB0_24
## %bb.20:
	cmpl	$68354048, %eax                 ## imm = 0x4130000
	je	LBB0_24
## %bb.21:
	cmpl	$69337088, %eax                 ## imm = 0x4220000
	je	LBB0_24
	jmp	LBB0_22
LBB0_10:
	cmpl	$16908288, %eax                 ## imm = 0x1020000
	je	LBB0_24
## %bb.11:
	cmpl	$33685504, %eax                 ## imm = 0x2020000
	je	LBB0_24
LBB0_22:
	leaq	-24(%rbp), %rdx
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	___probebarnacle
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movq	_exi_uart_chan@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movq	_exi_uart_dev@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	movq	_exi_uart_barnacle_enabled@GOTPCREL(%rip), %rax
	movl	$-1510014886, (%rax)            ## imm = 0xA5FF005A
	movq	_exi_uart_enabled@GOTPCREL(%rip), %rax
	movl	$-1510014886, (%rax)            ## imm = 0xA5FF005A
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_exi_uart_chan,4,2              ## @exi_uart_chan
	.comm	_exi_uart_dev,4,2               ## @exi_uart_dev
	.comm	_exi_uart_barnacle_enabled,4,2  ## @exi_uart_barnacle_enabled
	.comm	_exi_uart_enabled,4,2           ## @exi_uart_enabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___SYS_EnableBarnacle           ; -- Begin function __SYS_EnableBarnacle
	.p2align	2
___SYS_EnableBarnacle:                  ; @__SYS_EnableBarnacle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	add	x2, sp, #12
	bl	_EXI_GetID
	cbz	x0, LBB0_23
; %bb.1:
	ldr	w8, [sp, #12]
	mov	w9, #16908287
	cmp	w8, w9
	b.le	LBB0_7
; %bb.2:
	mov	w9, #4095
	movk	w9, #1026, lsl #16
	cmp	w8, w9
	b.le	LBB0_12
; %bb.3:
	mov	w9, #68288511
	cmp	w8, w9
	b.gt	LBB0_17
; %bb.4:
	mov	w9, #4096
	movk	w9, #1026, lsl #16
	cmp	w8, w9
	b.eq	LBB0_23
; %bb.5:
	mov	w9, #67372036
	cmp	w8, w9
	b.eq	LBB0_23
; %bb.6:
	mov	w9, #67502080
	b	LBB0_22
LBB0_7:
	cmp	w8, #3
	b.le	LBB0_16
; %bb.8:
	cmp	w8, #32
	b.hi	LBB0_10
; %bb.9:
	mov	w9, #1
	lsl	x9, x9, x8
	mov	x10, #272
	movk	x10, #1, lsl #16
	movk	x10, #1, lsl #32
	tst	x9, x10
	b.ne	LBB0_23
LBB0_10:
	mov	w9, #65535
	cmp	w8, w9
	b.eq	LBB0_23
; %bb.11:
	mov	w9, #16842752
	b	LBB0_22
LBB0_12:
	mov	w9, #50397183
	cmp	w8, w9
	b.le	LBB0_20
; %bb.13:
	mov	w9, #50397184
	cmp	w8, w9
	b.eq	LBB0_23
; %bb.14:
	mov	w9, #512
	movk	w9, #1026, lsl #16
	cmp	w8, w9
	b.eq	LBB0_23
; %bb.15:
	mov	w9, #768
	movk	w9, #1026, lsl #16
	b	LBB0_22
LBB0_16:
	mov	w9, #2147483644
	add	w8, w8, w9
	cmp	w8, #28
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #4113
	movk	w9, #4096, lsl #16
	and	w8, w8, w9
	ccmp	w8, #0, #4, ls
	b.ne	LBB0_23
	b	LBB0_24
LBB0_17:
	mov	w9, #68288512
	cmp	w8, w9
	b.eq	LBB0_23
; %bb.18:
	mov	w9, #68354048
	cmp	w8, w9
	b.eq	LBB0_23
; %bb.19:
	mov	w9, #69337088
	b	LBB0_22
LBB0_20:
	mov	w9, #16908288
	cmp	w8, w9
	b.eq	LBB0_23
; %bb.21:
	mov	w9, #33685504
LBB0_22:
	cmp	w8, w9
	b.ne	LBB0_24
LBB0_23:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_24:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	___probebarnacle
	cbz	x0, LBB0_23
; %bb.25:
Lloh0:
	adrp	x8, _exi_uart_chan@GOTPAGE
Lloh1:
	ldr	x8, [x8, _exi_uart_chan@GOTPAGEOFF]
Lloh2:
	str	w20, [x8]
Lloh3:
	adrp	x8, _exi_uart_dev@GOTPAGE
Lloh4:
	ldr	x8, [x8, _exi_uart_dev@GOTPAGEOFF]
Lloh5:
	adrp	x9, _exi_uart_barnacle_enabled@GOTPAGE
Lloh6:
	ldr	x9, [x9, _exi_uart_barnacle_enabled@GOTPAGEOFF]
Lloh7:
	str	w19, [x8]
	mov	w8, #90
	movk	w8, #42495, lsl #16
Lloh8:
	str	w8, [x9]
Lloh9:
	adrp	x9, _exi_uart_enabled@GOTPAGE
Lloh10:
	ldr	x9, [x9, _exi_uart_enabled@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	b	LBB0_23
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_exi_uart_chan,4,2              ; @exi_uart_chan
	.comm	_exi_uart_dev,4,2               ; @exi_uart_dev
	.comm	_exi_uart_barnacle_enabled,4,2  ; @exi_uart_barnacle_enabled
	.comm	_exi_uart_enabled,4,2           ; @exi_uart_enabled
.subsections_via_symbols
